Skip to content

No success or error event after location.reload() on IOS Release build #6

@vrt0r

Description

@vrt0r

Version 0,8.0 build with Cordova 5.3.3
Tested on IPad Mini on IOS 9.2.1
In deviceready i do:

window.openDatabase = window.sqlitePlugin.openDatabase;
var db = window.openDatabase('mytestdb', '1.0', 'something', 4096);
db.transaction(function (tx) {
tx.executeSql("DROP TABLE IF EXISTS mytest;", new Array(), function (tx, results) {
alert("success");
}, function (tx, err) {
alert("error");
});
});

Works on Application start but after a location.reload() (to Restart app) no event is called anymore.
Ios Debug and Android works without problems.

Edit:
Important Information, when i replace the plugin with the core version:
https://github.com/litehelpers/Cordova-sqlite-storage
it works without problems.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions