davibe / Phonegap-SQLitePlugin

A phonegap plugin to open and use sqlite databases on iOS.
191 stars 90 forks source link

cordova script causes crash #27

Open haddow777 opened 11 years ago

haddow777 commented 11 years ago

Hello, I just downloaded your plugin and followed your instructions for installation. I am attempting to build and run it in the iOS 5.1 simulator. When I do this, it loads and then gives me an alert for an error. The error says, "ERROR: Attempting to call cordova.exec() before 'deviceready'. Ignoring." The script then goes on to ignore everything afterwords.

I have narrowed the problem down to the cordova-1.7.0.js file you have supplied with your plugin. As it happens, I ran it with my cordova-2.0.0.js file that I already had and it worked fine.