4
votes

I have a native app that I'm using Phonegap Build to compile. I am trying to use the Crosswalk Webview plugin in my app.

According to the official Phonegap blog, all plugins are now hosted on NPM. According to this blog post, plugins tagged ecosystem:cordova should work with Phonegap Build.

While trying to include the cordova-plugin-crosswalk-webview (here), Phonegap Build fails with a very generic error message ("Oh geez. Your build failed. Sorry, but a problem occurred on the build server").

Has anyone else experienced this? Or has anyone else been able to get Crosswalk to work with Phonegap Build?

1

1 Answers

2
votes

The official version in the PhoneGap Build curated plugins list will build for arm, though note that it is an older version. To use it:

<plugin name="org.crosswalk.engine" spec="1.3.0" source="pgb" />

for x86

<plugin name="org.crosswalk.engine.x86" spec="1.3.0" source="pgb" />

Alternatively This plugin allows you to build either the x86 version or the arm version in PGB.

<plugin name="cordova-plugin-crosswalk-webview" source="npm" />
<plugin name="cordova-build-architecture" spec="https://github.com/MBuchalik/cordova-build-architecture.git#v1.0.1" source="git" />
<preference name="buildArchitecture" value="x86" />