mirror of https://github.com/BTCPrivate/copay.git
fix generation of Android and iOS packages. The purpose is testing.
This commit is contained in:
parent
9b27c30679
commit
db009f3874
|
@ -3,7 +3,7 @@
|
||||||
<supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
|
<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" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<application android:hardwareAccelerated="true" android:icon="@drawable/copay" android:label="@string/app_name">
|
<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>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
<content src="index.html" />
|
<content src="index.html" />
|
||||||
<access origin="*" />
|
<access origin="*" />
|
||||||
<preference name="loglevel" value="DEBUG" />
|
<preference name="loglevel" value="DEBUG" />
|
||||||
<preference name="AndroidLaunchMode" value="singleTop" />
|
|
||||||
<preference name="SplashScreen" value="screen" />
|
<preference name="SplashScreen" value="screen" />
|
||||||
<preference name="SplashScreenDelay" value="10000" />
|
<preference name="SplashScreenDelay" value="10000" />
|
||||||
<preference name="backgroundColor" value="0x2C3E50" />
|
<preference name="backgroundColor" value="0x2C3E50" />
|
||||||
|
|
|
@ -109,6 +109,9 @@ cd $BUILDDIR
|
||||||
cp config.xml $PROJECT/config.xml
|
cp config.xml $PROJECT/config.xml
|
||||||
checkOK
|
checkOK
|
||||||
|
|
||||||
|
mkdir -p $PROJECT/platforms/android/res/xml/
|
||||||
|
checkOK
|
||||||
|
|
||||||
cp android/AndroidManifest.xml $PROJECT/platforms/android/AndroidManifest.xml
|
cp android/AndroidManifest.xml $PROJECT/platforms/android/AndroidManifest.xml
|
||||||
checkOK
|
checkOK
|
||||||
|
|
||||||
|
@ -121,6 +124,12 @@ checkOK
|
||||||
cp -R android/res/* $PROJECT/platforms/android/res
|
cp -R android/res/* $PROJECT/platforms/android/res
|
||||||
checkOK
|
checkOK
|
||||||
|
|
||||||
|
mkdir -p $PROJECT/platforms/ios/Copay/Resources/icons
|
||||||
|
checkOK
|
||||||
|
|
||||||
|
mkdir -p $PROJECT/platforms/ios/Copay/Resources/splash
|
||||||
|
checkOK
|
||||||
|
|
||||||
if [[ !$SKIPIOS ]]; then
|
if [[ !$SKIPIOS ]]; then
|
||||||
cp -R ios/icons/* $PROJECT/platforms/ios/Copay/Resources/icons
|
cp -R ios/icons/* $PROJECT/platforms/ios/Copay/Resources/icons
|
||||||
checkOK
|
checkOK
|
||||||
|
@ -129,4 +138,3 @@ if [[ !$SKIPIOS ]]; then
|
||||||
checkOK
|
checkOK
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,5 +13,4 @@
|
||||||
<preference name="SplashScreenDelay" value="10000" />
|
<preference name="SplashScreenDelay" value="10000" />
|
||||||
<preference name="backgroundColor" value="0x2C3E50" />
|
<preference name="backgroundColor" value="0x2C3E50" />
|
||||||
<preference name="StatusBarOverlaysWebView" value="false" />
|
<preference name="StatusBarOverlaysWebView" value="false" />
|
||||||
<preference name="AndroidLaunchMode" value="singleTop" />
|
|
||||||
</widget>
|
</widget>
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
* [Install XCode for IOS](https://itunes.apple.com/en/app/xcode/id497799835?mt=12)
|
* [Install XCode for IOS](https://itunes.apple.com/en/app/xcode/id497799835?mt=12)
|
||||||
* Install Cordova: ``sudo npm install -g cordova``
|
* Install Cordova: ``sudo npm install -g cordova``
|
||||||
* Install Copay dependecies: ``bower install && npm install``
|
* Install Copay dependecies: ``bower install && npm install``
|
||||||
|
* Install Java-SDK and Apache Ant
|
||||||
|
|
||||||
## Build the project
|
## Build the project
|
||||||
|
|
||||||
|
@ -15,4 +16,4 @@
|
||||||
|
|
||||||
## Build for release
|
## Build for release
|
||||||
|
|
||||||
$ cordova build android --release
|
$ cordova build android --release
|
||||||
|
|
Loading…
Reference in New Issue