All Projects → MBuchalik → cordova-build-architecture

MBuchalik / cordova-build-architecture

Licence: MIT license
Force cordova to build for arm or x86. Useful on PhoneGap Build.

Projects that are alternatives of or similar to cordova-build-architecture

framework7-template-split-view
Deprecated! Framework7 split view starter app template
Stars: ✭ 19 (-44.12%)
Mutual labels:  cordova
mipush-cordova-plugin
cordova小米推送插件
Stars: ✭ 22 (-35.29%)
Mutual labels:  cordova
elm-cordova-intro
Getting started with Elm, Cordova and Fastlane
Stars: ✭ 16 (-52.94%)
Mutual labels:  cordova
cordova-plugin-opentok
Cordova Plugin for OpenTok - add webrtc video to your iOS or Android App
Stars: ✭ 30 (-11.76%)
Mutual labels:  cordova
JiaCordova
在Cordova及插件的基础上封装一些常用的功能,不断更新中
Stars: ✭ 35 (+2.94%)
Mutual labels:  cordova
phonegap-template-vue-f7-tabs
A TabBar PhoneGap template using Vue.js and Framework7
Stars: ✭ 31 (-8.82%)
Mutual labels:  cordova
framework7-template-react
Deprecated! Framework7 React starter app template with hot-reload & css extraction
Stars: ✭ 105 (+208.82%)
Mutual labels:  cordova
cordova-line-login-plugin
A cordova plugin for easy implementation of LINE login using LineSDK.
Stars: ✭ 20 (-41.18%)
Mutual labels:  cordova
cordova-plugin-advanced-imagepicker
Cordova Plugin for an advanced (multiple) ImagePicker
Stars: ✭ 23 (-32.35%)
Mutual labels:  cordova
Kaput
Kişisel araç takip yazılımı
Stars: ✭ 69 (+102.94%)
Mutual labels:  cordova
maji
Maji is a framework to build great hybrid mobile apps.
Stars: ✭ 18 (-47.06%)
Mutual labels:  cordova
docker-cordova
🗿 Docker image for Cordova (with Node.js & Android)
Stars: ✭ 72 (+111.76%)
Mutual labels:  cordova
cordova-plugin-exoplayer
Media player plugin for Cordova that uses Google's ExoPlayer
Stars: ✭ 48 (+41.18%)
Mutual labels:  cordova
Dianoia-app
Mobile (Ionic 3 - Angular 4) app about non-pharmaceutical activities and information for people with dementia.
Stars: ✭ 13 (-61.76%)
Mutual labels:  cordova
cordova-tizen
[DEPRECATED] Apache Cordova Tizen
Stars: ✭ 31 (-8.82%)
Mutual labels:  cordova
SwiftJSBridge
SwiftJSBridge is a handy JavaScript Bridge, written in Swift, support WKWebView and UIWebView
Stars: ✭ 29 (-14.71%)
Mutual labels:  cordova
cordova-plugin-purchases
Cordova in-app purchases and subscriptions made easy.
Stars: ✭ 52 (+52.94%)
Mutual labels:  cordova
Create-a-custom-Cordova-plugin
How to create a custom cordova plugin and bridge it between your native code and a new or existing Cordova project
Stars: ✭ 32 (-5.88%)
Mutual labels:  cordova
cordova-study
📱 Cordova学习记录,Cordova插件的使用,热更新、media、device、集成x5内核等等。
Stars: ✭ 19 (-44.12%)
Mutual labels:  cordova
cordova-wp8
[DEPRECATED] Apache Cordova WP8
Stars: ✭ 83 (+144.12%)
Mutual labels:  cordova

cordova-build-architecture

This plugin allows you to build your application for arm (or x86) only.

Why?

Plugins like cordova-plugin-crosswalk-webview (https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview) create two or more .apk files with one build. On Phonegap Build, you can only download one file which leads to problems if you want to get access to the other .apks.

Also, the Crosswalk plugin sometimes creates a combined arm/x86 file on Phonegap Build even if you set the preference xwalkMultipleApk to true.

Maybe you simply need to build for one architecture because of other reasons? This plugin might help you :-)

Usage

Include this plugin in your config.xml:

<plugin name="cordova-build-architecture" spec="https://github.com/MBuchalik/cordova-build-architecture.git#v1.0.4" source="git" />

By default, it will try to produce arm builds only. If you want to target x86, add the following preference:

<preference name="buildArchitecture" value="x86" />

Advanced configuration

Crosswalk also allows you to generate 64 bit builds. This is usually done via a command line parameter, but also seems to be possible using the following preference:

<preference name="xwalk64bit" value="true" />

If you want to fetch the 64 bit arm build, simply use use

<preference name="buildArchitecture" value="arm64" />

For the 64 bit x86 build, you have to specify the following value:

<preference name="buildArchitecture" value="x86_64" />

Summary

The following values can be used in our buildArchitecture preference:

target platform value should the xwalk64bit preference be set (to true)?
arm arm
arm: 64 bit arm64
x86 x86
x86: 64 bit x86_64

Please note that this plugin is experimental.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].