Open galders opened 7 years ago
I think you need to use the $ionicPlatform.ready callback. You may want to take a look at this link: http://nextflow.in.th/en/2015/easy-way-to-work-with-sqlite-database-in-ionic-framework/
UPDATE: To be documented as a pitfall
Hi,
Thank you very much for your response.
Before asking here I saw that article that is great and maybe I'm not understanding you, but I was using $ionicPlatform.ready callback. So, I gave the code to a friend and the project was working in Android properly and I tried Ionic Cloud with good result so I think is something related to my installation in Windows 10. I will check it properly in the future, during the meantime I will compile using Ionic Cloud.
Thanks again!
Hi everybody,
I have tried lots of things without success and I would much appreciate if anyone could help me, because it seems that $cordovaSQLite.execute is not being executed nor throwing any exception.
In app.js in the .run part:
var db;
Then in controller.js
In the browser everything runs perfect but when I try to execute in my Android Phone no way.
Thank you very much in advance,
galds