fix generation of Android and iOS packages. The purpose is testing.

This commit is contained in:
Gustavo Maximiliano Cortez 2014-11-20 22:09:28 -03:00
parent 9b27c30679
commit db009f3874
5 changed files with 12 additions and 5 deletions

View File

@ -3,7 +3,7 @@
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
<uses-permission android:name="android.permission.INTERNET" />
<application android:hardwareAccelerated="true" android:icon="@drawable/copay" android:label="@string/app_name">
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/app_name" android:launchMode="singleInstance" android:name="Copay" android:theme="@android:style/Theme.Black.NoTitleBar">
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/app_name" android:launchMode="singleTop" android:name="CordovaApp" android:theme="@android:style/Theme.Black.NoTitleBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />

View File

@ -10,7 +10,6 @@
<content src="index.html" />
<access origin="*" />
<preference name="loglevel" value="DEBUG" />
<preference name="AndroidLaunchMode" value="singleTop" />
<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="10000" />
<preference name="backgroundColor" value="0x2C3E50" />

View File

@ -109,6 +109,9 @@ cd $BUILDDIR
cp config.xml $PROJECT/config.xml
checkOK
mkdir -p $PROJECT/platforms/android/res/xml/
checkOK
cp android/AndroidManifest.xml $PROJECT/platforms/android/AndroidManifest.xml
checkOK
@ -121,6 +124,12 @@ checkOK
cp -R android/res/* $PROJECT/platforms/android/res
checkOK
mkdir -p $PROJECT/platforms/ios/Copay/Resources/icons
checkOK
mkdir -p $PROJECT/platforms/ios/Copay/Resources/splash
checkOK
if [[ !$SKIPIOS ]]; then
cp -R ios/icons/* $PROJECT/platforms/ios/Copay/Resources/icons
checkOK
@ -129,4 +138,3 @@ if [[ !$SKIPIOS ]]; then
checkOK
fi

View File

@ -13,5 +13,4 @@
<preference name="SplashScreenDelay" value="10000" />
<preference name="backgroundColor" value="0x2C3E50" />
<preference name="StatusBarOverlaysWebView" value="false" />
<preference name="AndroidLaunchMode" value="singleTop" />
</widget>

View File

@ -5,6 +5,7 @@
* [Install XCode for IOS](https://itunes.apple.com/en/app/xcode/id497799835?mt=12)
* Install Cordova: ``sudo npm install -g cordova``
* Install Copay dependecies: ``bower install && npm install``
* Install Java-SDK and Apache Ant
## Build the project
@ -15,4 +16,4 @@
## Build for release
$ cordova build android --release
$ cordova build android --release