bormansquirrel
bormansquirrel

Reputation: 95

Crosswalk plugin and PhonegapBuild

I'm using PhonegapBuild for generating hybrid-mobile-app binaries which they are making use of Crosswalk webview.

For Android apps, if you're using Crosswalk, it's necessary to generate both, x86 and armv7 binaries.

When I use PhonegapBuild service for generating binaries, it doesn't generates both of them, it's generating armv7 by default. I have to re-submit the package with different config files specifying different plugin for enforce PhonegapBuild to generate the corresponding binary.

I was wondering if anybody has been able to handle this situation without the needed of re-submitting the files with different config files.

I leave this link and this link as a references of the issue.

Thanks!

Upvotes: 0

Views: 331

Answers (1)

user3255670
user3255670

Reputation:

@bormansquirrel,
an appropriate place to start on this is the Cordova Plugin Respository. In one of the links you pointed to, several solutions are available for both arm and x86 platforms.

Besides the regular crosswalk plugin(arm), wildabeast points to crosswalk x86 plugin.

If you want the plugin to come from the Cordova Plugin Respository, then you search for crosswalk.

If you do the search, you will find two (2) plugins from whitecolor, which was mentioned this in the link you pointed to.

Those crosswalk plugins are

To deal with not having two separate builds Phonegap Build now supports the <platform (...)> element in the config.xml

You can read the blog and the documentation for details.

I have not tested it yet, but you should be able to place plugins in the new support paramters for <platform (...)>. However, if you follow the documentation to the letter (which is never correct), this should not work.

Let me know how it works.

Upvotes: 1

Related Questions