Problem with calling database/plugins before they are initialized

Hi, i want to ask, if there is any reliable solution, to check if plugins that iam calling are already initialized, so i do not run into error at startup of the app? For example i need to get data from sqlite, but i need plugin to be ready. Only platform.ready doesnt help. How do u solve this in your apps guys? Are there any best practises for this? I tried setting some timout after platform.ready, but that doesnt seems to be a good solution. Any ideas?

It doesn’t? It should. What error are you getting? What’s your code look like?