I appreciate you can help me.
Just in case I tell you this is for iOS apps.
I have worked sql applications using plugin:
“cordova-sqlite-evcore-extbuild-free”
Originally it was created with the following:
db = SqlOpenDatabase (“calculator.db”, “1.0”, “Calculator Data”)
Now I have tried to read it, after the device is ready and the installed plugins with the following:
db = SqlOpenDatabase (“calculator.db”, “1.0”, “Calculator Data”) indicates that “SQLite not suported”
with the following cases it works, that is, I can create, write and read but not the old database:
db = SqlOpenDatabase (“calculator.db”, “1.0”, “Calculator Data”, 1)
db = window.openDatabase (“calculator.db”, “1.0”, “Calculator Data”, 1)
db = window.sqlitePlugin.openDatabase ({name: “calculator.db”, iosDatabaseLocation: 0})
db = window.sqlitePlugin.openDatabase ({name: “calculator.db”, createFromLocation: 1})
db = window.sqlitePlugin.openDatabase ({name: “calculator.db”, iosDatabaseLocation: “Documents”}, PaLaBDArrancaSql3, ErrorPaLaBDArrancaSql3)
db = window.sqlitePlugin.openDatabase ({name: “calculator.db”, iosDatabaseLocation: “Library”}, PaLaBDArrancaSql3, ErrorPaLaBDArrancaSql3)
It has always worked fine but now that I am using:
“cordova-plugin-wkwebview-engine” databases that were created before that are not read by the original plugin. I can create others but I can’t read the original one, even though it exists.
I know it exists because I count “cordova-plugin-wkwebview-engine” removal, it reads them without problems.
The same happens to me with the plugin “cordova-sqlite-storage” with spec = “5.0.0”.
Could you help me to make the sql recognize or find the old database?
Thanks for your valuable help.