Getting Crosswalk to work with Phonegap Build

I have my own application that I use to build using Phonegap Build. I am trying to use a plugin Crosswalk Webviewin my application.

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

When you try to enable cordova-plugin-crosswalk-webview( here ), Phonegap Build will fail with a very general error message ("Oh geez. Your build failed. Sorry, but there was a problem on the build server").

Has anyone else experienced this? Or could anyone else get Crosswalk to work with Phonegap Build?

+4
source share
1 answer

The official version on the PhoneGap Build curated plugins list will be built for arm, although note that this 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 create either an x86 version or a weapon 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" />
+2
source

Source: https://habr.com/ru/post/1648725/


All Articles