Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Window.sqlitePlugin not defined #101

Open
ashishkumar2804 opened this issue Jul 15, 2020 · 4 comments
Open

Window.sqlitePlugin not defined #101

ashishkumar2804 opened this issue Jul 15, 2020 · 4 comments

Comments

@ashishkumar2804
Copy link

ashishkumar2804 commented Jul 15, 2020

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

@ashishkumar2804
Copy link
Author

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

@brodycj
Copy link
Collaborator

brodycj commented Jul 20, 2020

A minimal, reproducible example would be really helpful.

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

@ashishkumar2804
Copy link
Author

ashishkumar2804 commented Jul 20, 2020

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)

@ashishkumar2804
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants