an-rahulpandey / cordova-plugin-dbcopy

Copy SQLite Database from www folder to default app database location
Apache License 2.0
89 stars 48 forks source link

Cant copy database #28

Closed TopoSan closed 7 years ago

TopoSan commented 8 years ago

Hi, thanks for this great plugin. I use it on Android and there is no problem, but when i tried to use on Ipad (IOS 9.2), it says "TypeError: undefined is not an object (evaluating 'window.plugins.sqlDB') ". I write to init but i dont know why this doesn´t work. I use Inte XDK to test the aplicatión i´m doing. ¿Do you know what would be? Thank you very much.

an-rahulpandey commented 8 years ago

Check if there is an entry for the plugin in cordova_plugins.js file which you can find at platforms/ios/www/ directory. Also try re-adding the plugin and then building it using Cordova CLI -

cordova build ios
TopoSan commented 8 years ago

Thank you. I´ll try it.