-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Hi to All and thank you for this plugin.
But I think that it isn't compatible with Capacitor (Ionic permits the use of Capacitor).
My database file is correctly into www folder and my minSdkVersion is 26 (target is 29).
Only last versions of Ionic, Capacitor and all other...
I use this snippet:
this.sqliteDbCopy.copy( "cappotto_facile.db", 0)
.then((res: any) => {
... open DB
})
.catch((error: any) => {
... output for error
});
My output is:
I/Capacitor/Console: File: http://localhost/pages-references-references-module-es2015.js - Line 201 - Msg: --Platform hybrid ready.
V/Capacitor/Plugin: To native (Cordova plugin): callbackId: sqlDB282510492, service: sqlDB, action: copy, actionArgs: ["cappotto_facile.db",0]
D/CordovaLog: DatabasePath = /data/user/0/io.ionic.starter/databases/cappotto_facile.db&&&& dbname = cappotto_facile.db&&&&DB Exists =false
D/Cordova: Try Error = www/cappotto_facile.db
D/CordovaLog: Inside CreateDatabase getAbsolutePath= /data/user/0/io.ionic.starter/databases/cappotto_facile.db
Inside CreateDatabase path = /data/user/0/io.ionic.starter/databases/cappotto_facile.db
D/CordovaLog: www/cappotto_facile.db
E/Capacitor/Console: File: http://localhost/pages-references-references-module-es2015.js - Line 221 - Msg: --Database cappotto_facile NON copiato, message:www/cappotto_facile.db
E/Capacitor/Console: File: http://localhost/pages-references-references-module-es2015.js - Line 222 - Msg: --Database cappotto_facile NON copiato, codice:400
Could you help me?
Thank you in advance.
Marco