Open iqmeta opened 8 years ago
Hi, is it possible to use a native sqLite cordova plugin with the sqLite Provider?
like passing the eg. the db object from this:
var db = window.sqlitePlugin.openDatabase({name: "my.db", location: 1}, successcb, errorcb); (https://github.com/Telerik-Verified-Plugins/SQLite)
var db = window.sqlitePlugin.openDatabase({name: "my.db", location: 1}, successcb, errorcb);
So this file is used
Instead of the sqLite Provider created one within the WebKit / LocalStorage (webSQL) which is as far I know limited (correct me if I'm wrong)
cheers.
You can add document.addEventListener("deviceready", function () { window.openDatabase = window.sqlitePlugin.openDatabase; }); Just make sure you open the database after the deviceready event is fired.
document.addEventListener("deviceready", function () { window.openDatabase = window.sqlitePlugin.openDatabase; });
Hi, is it possible to use a native sqLite cordova plugin with the sqLite Provider?
like passing the eg. the db object from this:
var db = window.sqlitePlugin.openDatabase({name: "my.db", location: 1}, successcb, errorcb);
(https://github.com/Telerik-Verified-Plugins/SQLite)So this file is used
Instead of the sqLite Provider created one within the WebKit / LocalStorage (webSQL) which is as far I know limited (correct me if I'm wrong)
cheers.