Ionic 2 with Crosswalk

Hi,

I am trying to use crosswalk on my ionic 2 rc3 project running tests on the android emulator on Mac OS.

ionic info

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.8
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.45
ios-deploy version: 1.9.0
ios-sim version: 5.0.11
OS: OS X El Capitan
Node Version: v6.9.1
Xcode version: Xcode 8.1 Build version 8B62

First, I try an example without crosswalk.

ionic start example tutorial --v2
cd example
ionic platform add android
ionic emulate andorid

And everything works fine.

Then I try the same example using crosswalk.

ionic plugin add cordova-plugin-crosswalk-webview --save
ionic emulate andorid

And I get the following:

This happens with all versions of android that I have tried. (API 23 24 25)

And with other projects, too.

Please I need help!

Thank you!

1 Like

I think I’ve got the same problem, emulating with Crosswalk doesn’t work but works fine while running the app on a real android device

1 Like

Any luck with this? I’m having the same problem with my app and the example app.

From remote debugging I can see that the app loaded ok, and I can even interact with it - for example try clicking where the menu button should be and you’ll see the title bar change.

1 Like

I having the same problems too.

Ionic info

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.8
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.47
ios-deploy version: 1.9.0
ios-sim version: 5.0.12
OS: macOS Sierra
Node Version: v4.6.2
Xcode version: Xcode 8.1 Build version 8B62

Could anyone run ionic 2 conference on ios and android emulators using CrossWalk plugin?
with Ionic 2.0.0-rc4 does not work yet.

regards

Did you manage to solve this? I have the same issue with Ionic 3.1.0 and crosswalk 23

Hi @gensollen

Currently I’m using crosswalk in my projects with the next configuration on config.xml

<plugin name="cordova-plugin-crosswalk-webview" spec="~2.3.0">
    <variable name="XWALK_VERSION" value="23+" />
    <variable name="XWALK_LITEVERSION" value="xwalk_core_library_canary:17+" />
    <variable name="XWALK_COMMANDLINE" value="--disable-pull-to-refresh-effect" />
    <variable name="XWALK_MODE" value="embedded" />
    <variable name="XWALK_MULTIPLEAPK" value="true" />
</plugin>

It works fine although with some problems eg Slider does not work well on ios 10.x.

I did not try with conference app yet.

Regards.