jdnichollsc / Ionic-Starter-Template

Reinventing the wheel, again! Sorry Ionic Team... but there are many newbies learning on Youtube!
http://market.ionic.io/starters/ionic-starter-template
MIT License
211 stars 106 forks source link

Sqlite database prepopulated on android device #16

Closed cerge closed 7 years ago

cerge commented 7 years ago

Hi, the template is great and it works fine on browser but I cant check it on my device (moto g) .Basically I need load a old sqlite file (with 4 big tables) and execute some sql queries, but Im not sure how debug it . On a first view it dont load the queries on my device but works fine on chrome browser (with web databases) Please, let me know if you can recommend me some tool or solution so i can check what happens and help on the development of this great project.

jdnichollsc commented 7 years ago

Try GapDebug to debug your app https://www.genuitec.com/products/gapdebug/ Regards, Nicholls

cerge commented 7 years ago

Thanks Nicholls, All seems works fine now but like the other question, seems it works with webDB in browser and mobile (on this last case, seems it dont load the pre.db file) Probably some issue with the line: if (window.sqlitePlugin !== undefined) {

jdnichollsc commented 7 years ago

On mobile works with a SQLite plugin instead of WebDB, you can find this plugin into Config.xml file. And you can edit the pre.db file using http://sqlitebrowser.org/ :)