mirror of
https://github.com/MBuchalik/cordova-build-architecture.git
synced 2026-04-15 00:00:02 +08:00
Update README.md
This commit is contained in:
@@ -1 +1,19 @@
|
||||
# build-architecture
|
||||
# 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.
|
||||
|
||||
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" 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" />
|
||||
```
|
||||
|
||||
Please note that this plugin is experimental.
|
||||
|
||||
Reference in New Issue
Block a user