@rajkhowa wrote:
I have implemented a project using Ionic2 and SQLite. Now I want to use SQLCipher for encrypting data. But after installing plugin cordova-sqlcipher-adapter, i am not able to use it. As per documentation, i need to use it like this:
document.addEventListener(‘deviceready’, function() {
db = window.sqlitePlugin.openDatabase({name:
‘demo.db’, key: ‘your-password-here’, location: ‘default’});
});But during build, i get the error “property sqliteplugin does not exist on type window”.
Please guide in this regard as i am not able to find online tutorial on SQLCipher.
Regards,
Posts: 1
Participants: 1