My ionic2 app loads the main page and starts fetching the data using a custom DBService which in turn uses Cordova SQLite plugin, but at this time the platform is not ready and thus sqlitePlugin is not available.
Can anybody suggest what is the best way to delay bootstrap until the platform is ready (and SQlite db is open)?