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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -