sqlite3 - cordova.exec in phonegap app (sqlite) -
i upgraded phonegap application version 3.0 updating sqlite plugin newest version (https://github.com/j3k0/phonegap-sqliteplugin-ios)
by running i.e. script (which run without problems before)
function ondeviceready() { var db = window.sqliteplugin.opendatabase(shortname, version, displayname,maxsize); }
i log in console:
the old format of exec call has been removed (deprecated since 2.1). change to: cordova.exec(null, null, "sqliteplugin",...
there no error, no warning, etc. information every sql statement. how can fix problem?
looks need update line 26 in sqliteplugin.js
change from:
cordova.exec(success, error, "sqliteplugin", method, [options]);
to:
cordova.exec(null, null, "sqliteplugin", method, [options]);
Comments
Post a Comment