Open brodycj opened 8 years ago
Hello @brodybits , I have an issue with creating demo app with Pre-populated database. I raised question http://stackoverflow.com/questions/39252995/how-to-use-pre-populated-sqlite-database-with-cordova-for-android on stackoverflow. Above tutorial creates table structures on run time which is not useful in this case. Please can you look and suggest what must be done to resolve problem.
@jigarsangoi the plugin will not copy the database if it already exists. It is recommended to uninstall your app and try it again.
There is already an Ionic starter template with pre-populated database support but I think a simpler sample could help some users. Ideally with and without Ionic.
An 2014 article by Raboy still seems to be relevant though it could use some very minor updates. I think it should go back in README.md. It has apparently moved to: https://www.thepolyglotdeveloper.com/2014/11/use-sqlite-instead-local-storage-ionic-framework
I wonder if there are some more recent tutorials and other articles?