storesafe/cordova-sqlcipher-adapter

Window.sqlitePlugin not defined

ashishkumar2804 opened this issue · 4 comments

Post upgrading to cordova ios 6.1.0, the plugin is not working.

Getting error for window.sqlitePlugin not defined. this is happening when trying to open database.

Plugin working perfectly fine with cordova ios 5.1.1 version

Anyone who has used this plugin with cordova ios >6.0 version?

A minimal, reproducible example would be really helpful.

https://stackoverflow.com/help/minimal-reproducible-example

Thanks for the response Chris. I will try to reproduce the issue in a hello world example with just this plugin in a day or 2.

But to gives more information on this, the things are working fine till cordova ios version 5.11 in cordova ios 6, while trying to open the database, it is giving me window.sqllitePlugin not defined in the below code

window.sqlitePlugin.OpenDatabase(DBNAME,PWD,Location)

I created a new helloWorld project and the plugins work fine in it. I am not sure, what mistake i am doing with my main app post upgrading from cordova 5.x version that it stopped working.