Platform.ready() before ionicBootstrap?

I’m trying to do a data migration prior to bootstrapping my app. Anybody know a good way to utilize ionic-native and deviceready before ionicBootstrap?

I tried document.addEventListener("deviceready", onDeviceReady, false); but it’s not doing the trick, and I can’t access the dependency injected platform object yet…

any ideas?

I solved my own problem, and was able to move my data migration to inside the platform.ready() event within the main app component

Hi Jason,

could you post your solution please? I’m having the same problem as well …

Thanks,

Marcel