I have a problem in my app, i use sqlite as storage, the problem is, that when it initiates at start of the app, it isnt ready, in time, when other services from my app are trying to get data from db. So far i solved it with setTimeout(), but that isnt very clean. Is there any way to properly do this? To check if sqlite is ready and then start to get data from it?
Are you opening the database within a platform.ready()?
yea i open it in platform.ready() and even the services that gets data from db do it in platfrom.ready()