storesafe / cordova-sqlite-storage

A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API
Other
2.15k stars 715 forks source link

Android: How to store database in Internal Storage device? #536

Open aishahismail opened 8 years ago

aishahismail commented 8 years ago

I tried to save my database to another another folder in internal storage to prevent lost data when uninstall the application. But I cannot find the right path name should I write in location to change the default path:

$cordovaSQLite.openDB({ name: "test.db", location:'default'});

Thanks

brodycj commented 8 years ago

I think this would be supported by the Cordova-sqlite-evcore-extbuild-free version (available under GPL or commercial license options).