Anyone tried working with Ionic 4 storage and cordova sqlite?
I have a loader page (lazy loaded) as my root page where it checks (ionViewWillEnter) for intro and user status on storage and redirect views accordingly. But I notice that sometimes it fails to redirect because storage.get is not getting executed. I tested with a try and catch and it enters the catch. I have storage.get inside the storage.ready promise. Sometimes the router.navigate also doesn’t work and redirect the page. Any ideas? Maybe I need to delay the checking and wait until storage and router is fully initialized?