ionic-framework: bug: Platform.ready() never fires when using Crosswalk
Type: bug
Ionic Version: 2.x
Platform: android 4.1 webview
Having to support a specific API level, 16, Ionic 2 doesn’t render properly at all on that, so I installed Crosswalk (latest: 2.1.0) which got the app to render, howver, as a side effect, the platform.ready() never fires, take for example the default app code of:
initializeApp() { this.platform.ready().then(() => { // Okay, so the platform is ready and our plugins are available. // Here you can do any higher level native things you might need. StatusBar.hide(); //Splashscreen.hide(); }); }
When using Crosswalk, the StatusBar is never hidden, this happens during live reload debugging and when the app is packaged & installed on the device. When running in live reload, the console reports that the device ready is not firing.
My installed plugins are:
cordova-plugin-console 1.0.4 "Console"
cordova-plugin-crosswalk-webview 2.1.0 "Crosswalk WebView Engine"
cordova-plugin-device 1.1.3 "Device"
cordova-plugin-splashscreen 4.0.0 "Splashscreen"
cordova-plugin-statusbar 2.2.0 "StatusBar"
cordova-plugin-whitelist 1.3.0 "Whitelist"
cordova-sqlite-storage 1.4.8 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"
Cordova version is: 6.4.0 Ionic version is: 2.1.4
Could you suggest a method of either fixing this or an alternate method of backwards supporting Android 4.1.1?
Regards,
Joe
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 20 (9 by maintainers)
@jgw96 yeah the latest one https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview/releases/tag/2.1.0
Try Cordova 6.3.1 if u use Xwalk 21… it will fix that problem 😉