Skip to content

bug: Platform.ready() never fires when using Crosswalk #8984

@jbrailsford

Description

@jbrailsford

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: replythe issue needs a response from the user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions