I have problem on android device (android 5.x)
The code
this.storage = new Storage(SqlStorage, { name: 'home-money' });
this.dialyTransactionLimit = this.settings.getDialyLimit();
let transactionTableSetup = 'id INTEGER PRIMARY KEY AUTOINCREMENT,amount REAL, description TEXT, isSynchronized INTEGER, timestamp DATETIME DEFAULT CURRENT_TIMESTAMP'
this.storage.query(`CREATE TABLE IF NOT EXISTS transactions (${transactionTableSetup})`).then(() => {
this.storage.set('version', 1)
});
Work on destop browser but on android device that throw:
SQLitePlugin.js:175 OPEN database: home-money
3SQLitePlugin.js:106 new transaction is waiting for open operation
SQLitePlugin.js:179 OPEN database: home-money - OK
SQLitePlugin.js:80 DB opened: home-money
Source code can be found here here
How I can fix this one