Update cordova project
|
@ -1,8 +1,8 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<manifest android:hardwareAccelerated="true" android:versionCode="1" android:versionName="0.0.1" android:windowSoftInputMode="adjustPan" package="com.bitpay.copay" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<manifest android:hardwareAccelerated="true" android:versionCode="11" android:versionName="0.5.0" android:windowSoftInputMode="adjustPan" package="com.bitpay.copay" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<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/icon" 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="singleTop" android:name="Copay" android:theme="@android:style/Theme.Black.NoTitleBar">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
<access origin="*" />
|
||||
<preference name="loglevel" value="DEBUG" />
|
||||
<preference name="AndroidLaunchMode" value="singleTop" />
|
||||
<preference name="splashscreen" value="screen" />
|
||||
<preference name="splashScreenDelay" value="10000" />
|
||||
<preference name="SplashScreen" value="screen" />
|
||||
<preference name="SplashScreenDelay" value="10000" />
|
||||
<preference name="backgroundColor" value="0x2C3E50" />
|
||||
<feature name="App">
|
||||
<param name="android-package" value="com.bitpay.copay" />
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# This file is automatically generated by Android Tools.
|
||||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
|
||||
#
|
||||
# This file must be checked in Version Control Systems.
|
||||
#
|
||||
# To customize properties used by the Ant build system edit
|
||||
# "ant.properties", and override values to adapt the script to your
|
||||
# project structure.
|
||||
#
|
||||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
|
||||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
||||
|
||||
android.library.reference.1=CordovaLib
|
||||
# Project target.
|
||||
target=android-19
|
||||
key.store=../../../copay.keystore
|
||||
key.alias=copay_play
|
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 1.3 KiB |
|
@ -41,9 +41,8 @@ echo "${OpenColor}${Green}* Checking dependencies...${CloseColor}"
|
|||
command -v cordova >/dev/null 2>&1 || { echo >&2 "Cordova is not present, please install it: sudo npm -g cordova."; exit 1; }
|
||||
command -v xcodebuild >/dev/null 2>&1 || { echo >&2 "XCode is not present, install it or use [--android]."; exit 1; }
|
||||
|
||||
|
||||
# Create project dir
|
||||
if [[ CLEAR ]]
|
||||
if $CLEAR
|
||||
then
|
||||
if [ -d $PROJECT ]; then
|
||||
rm -rf $PROJECT
|
||||
|
@ -61,7 +60,7 @@ if [ ! -d $PROJECT ]; then
|
|||
cordova platforms add android
|
||||
checkOK
|
||||
|
||||
if [[ !SKIPIOS ]]; then
|
||||
if [[ !$SKIPIOS ]]; then
|
||||
echo "${OpenColor}${Green}* Adding IOS platform... ${CloseColor}"
|
||||
cordova platforms add ios
|
||||
checkOK
|
||||
|
@ -113,11 +112,19 @@ checkOK
|
|||
cp android/config.xml $PROJECT/platforms/android/res/xml/config.xml
|
||||
checkOK
|
||||
|
||||
if [[ !SKIPIOS ]]; then
|
||||
cp -R ios/icons $PROJECT/platforms/ios/Copay/Resources/icons
|
||||
cp android/project.properties $PROJECT/platforms/android/project.properties
|
||||
checkOK
|
||||
|
||||
cp -R android/res/* $PROJECT/platforms/android/res
|
||||
checkOK
|
||||
|
||||
echo $SKIPIOS;
|
||||
if [[ !$SKIPIOS ]]; then
|
||||
echo "Copiando IOS";
|
||||
cp -R ios/icons/* $PROJECT/platforms/ios/Copay/Resources/icons
|
||||
checkOK
|
||||
|
||||
cp -R ios/splash $PROJECT/platforms/ios/Copay/Resources/splash
|
||||
cp -R ios/splash/* $PROJECT/platforms/ios/Copay/Resources/splash
|
||||
checkOK
|
||||
fi
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<widget id="com.bitpay.copay" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||
<widget id="com.bitpay.copay" version="0.5.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" android-versionCode="11">
|
||||
<name>Copay</name>
|
||||
<description>
|
||||
A secure bitcoin wallet for friends and companies.
|
||||
|
@ -9,8 +9,8 @@
|
|||
</author>
|
||||
<content src="index.html" />
|
||||
<access origin="*" />
|
||||
<preference name="splashscreen" value="screen" />
|
||||
<preference name="splashScreenDelay" value="10000" />
|
||||
<preference name="SplashScreen" value="copayscreen" />
|
||||
<preference name="SplashScreenDelay" value="10000" />
|
||||
<preference name="backgroundColor" value="0x2C3E50" />
|
||||
<preference name="StatusBarOverlaysWebView" value="false" />
|
||||
</widget>
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.4.7</string>
|
||||
<string>0.5.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleURLTypes</key>
|
||||
|
@ -72,7 +72,7 @@
|
|||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>0.4.7</string>
|
||||
<string>0.5.0</string>
|
||||
<key>LSRequiresIPhoneOS</key>
|
||||
<true/>
|
||||
<key>NSMainNibFile</key>
|
||||
|
|
|
@ -10,4 +10,8 @@
|
|||
$ sh cordova/build.sh
|
||||
$ cd cordova/project
|
||||
$ cordova run android
|
||||
$ cordova emulate ios
|
||||
$ cordova emulate ios
|
||||
|
||||
## Build for release
|
||||
|
||||
$ cordova build android --release
|