ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

ionic2 - Platform.ready not fired - crosswalk

Open graphefruit opened this issue 10 years ago • 3 comments

Short description of the problem:

When building app on android with crosswalk plugin installed, the platform.ready is not executed/fired

What behavior are you expecting?

platform.ready gets triggered like without crosswalk

Steps to reproduce:

  1. ionic start test --v2
  2. ionic plugin add cordova-plugin-crosswalk-webview
 platform.ready().then(() => {
      console.log("platform ready fired");
});
  1. ionic platform add android
  2. ionic build android
  3. Change on step 3 will never be triggered.

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Native: deviceready did not fire within 2000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.
cordova.js:1223 deviceready has not fired after 5 seconds.
cordova.js:1216 Channel not fired: onCordovaInfoReady

Which Ionic Version? 2. RC 2

Run ionic info from terminal/cmd prompt: (paste output below)


Your system information:

Cordova CLI: 6.4.0
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.39
OS:
Node Version: v6.7.0

Greetings Graphefruit

graphefruit avatar Nov 06 '16 21:11 graphefruit

+1

jlno avatar Nov 06 '16 23:11 jlno

i'm experiencing this also

Your system information:

Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.39
OS: Windows 7 SP1
Node Version: v6.9.1

ataraxus avatar Nov 07 '16 09:11 ataraxus

Hello, thanks for opening an issue with us! I am going to close this issue as a duplicate of https://github.com/driftyco/ionic/issues/8984.

jgw96 avatar Nov 07 '16 09:11 jgw96