Currently there is a function call sqlitePlugin.openDatabase() that is emulating the HTML5 window.openDatabase() the best it can. Unfortunately this entails a some hack like ignoring some of the HTML5 SQL options. There is interest in adding some more options such as changing the database path and now encryption.
My idea is to adapt sqlitePlugin.openDatabase() to accept the list of options in a single Javascript object, something like: sqlitePlugin.openDatabase({database: "mydb", encrypt: true, cryptkey: x, success: mycb}) but still work with the old API to provide backwards compatibility.
Currently there is a function call sqlitePlugin.openDatabase() that is emulating the HTML5 window.openDatabase() the best it can. Unfortunately this entails a some hack like ignoring some of the HTML5 SQL options. There is interest in adding some more options such as changing the database path and now encryption.
My idea is to adapt sqlitePlugin.openDatabase() to accept the list of options in a single Javascript object, something like: sqlitePlugin.openDatabase({database: "mydb", encrypt: true, cryptkey: x, success: mycb}) but still work with the old API to provide backwards compatibility.