@Joachim wrote:
I get an error when I try to open an existing sqlite database. The problem is that the ionic implementation usese a double as version number whereas the documentation of sqlite requests a integer.
If I change the Version Number from "1.0" to "1" everything works fine. The code is here:
ionic-framework/platform/storage/sql.js:
this._db = window.openDatabase(dbOptions.name, '1.0', 'database', 5 * 1024 * 1024);
change to:
this._db = window.openDatabase(dbOptions.name, '1', 'database', 5 * 1024 * 1024);`
Posts: 1
Participants: 1