Adds iPhoneX support. Update packages and plugins

This commit is contained in:
Gustavo Maximiliano Cortez 2017-11-17 17:08:07 -03:00
parent a29d4f11de
commit a2b01a8f79
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
34 changed files with 52 additions and 56 deletions

View File

@ -21,9 +21,10 @@
<preference name="StatusBarBackgroundColor" value="*THEMECOLOR*" />
<preference name="BackupWebStorage" value="none"/>
<preference name="Orientation" value="default" />
<preference name="cordova-custom-config-stoponerror" value="true" />
<preference name="StatusBarOverlaysWebView" value="false" />
<preference name="StatusBarStyle" value="default" />
<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="StatusBarStyle" value="lightcontent" />
<preference name="ShowSplashScreenSpinner" value="false" />
<preference name="AutoHideSplashScreen" value="false" />
@ -35,32 +36,29 @@
<preference name="android-minSdkVersion" value="19" />
<!-- Supported Platforms -->
<engine name="android" spec="^6.3.0" />
<engine name="ios" spec="^4.5.3" />
<engine name="android" spec="6.4.0" />
<engine name="ios" spec="4.5.3" />
<!-- Plugins -->
<plugin name="cordova-clipboard" spec="^1.1.0" />
<plugin name="cordova-plugin-android-fingerprint-auth" spec="^1.4.0" />
<plugin name="cordova-plugin-device" spec="^1.1.6" />
<plugin name="cordova-plugin-globalization" spec="^1.0.7" />
<plugin name="cordova-plugin-device" spec="^1.1.7" />
<plugin name="cordova-plugin-globalization" spec="^1.0.8" />
<plugin name="cordova-plugin-qrscanner" spec="^2.5.0" />
<plugin name="cordova-plugin-splashscreen" spec="^4.0.3" />
<plugin name="cordova-plugin-statusbar" spec="^2.2.3" />
<plugin name="cordova-plugin-inappbrowser" spec="^1.7.1" />
<plugin name="cordova-plugin-splashscreen" spec="^4.1.0" />
<plugin name="cordova-plugin-statusbar" spec="^2.3.0" />
<plugin name="cordova-plugin-inappbrowser" spec="^1.7.2" />
<plugin name="cordova-plugin-touch-id" spec="^3.3.1" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.2" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<plugin name="cordova-plugin-x-socialsharing" spec="^5.2.1" />
<plugin name="cordova-plugin-x-toast" spec="^2.6.0" />
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
<plugin name="cordova-plugin-native-spinner" spec="^1.0.8" />
<plugin name="cordova-plugin-dialogs" spec="^1.3.3" />
<plugin name="cordova-plugin-network-information" spec="^1.3.3" />
<plugin name="cordova-plugin-spinner-dialog" spec="^1.3.1" />
<plugin name="cordova-plugin-dialogs" spec="^1.3.4" />
<plugin name="cordova-plugin-network-information" spec="^1.3.4" />
<plugin name="cordova-plugin-uniquedeviceid" spec="^1.3.2" />
<plugin name="cordova-plugin-file" spec="^4.3.3" />
<plugin name="cordova-plugin-transport-security" spec="^0.1.2" />
<plugin name="cordova-ios-requires-fullscreen" spec="^0.0.2" />
<plugin name="cordova-plugin-screen-orientation" spec="^2.0.1" />
<plugin name="cordova-plugin-file" spec="^5.0.0" />
<plugin name="cordova-custom-config" spec="^4.0.2" />
<plugin name="cordova-plugin-customurlscheme" spec="https://github.com/cmgustavo/Custom-URL-scheme.git#v4.0">
<variable name="URL_SCHEME" value="bitcoin" />
@ -77,9 +75,6 @@
<config-file platform="ios" target="*-Info.plist" parent="UIViewControllerBasedStatusBarAppearance"><false/></config-file>
<config-file target="*-Info.plist" parent="ITSAppUsesNonExemptEncryption"><false/></config-file>
<preference name="ios-XCBuildConfiguration-CODE\_SIGN\_IDENTITY" value="" buildType="debug" xcconfigEnforce="false" />
<preference name="ios-XCBuildConfiguration-CODE\_SIGN\_IDENTITY" value="" buildType="release" xcconfigEnforce="false" />
<icon src="resources/*PACKAGENAME*/ios/icon/icon-60@3x.png" width="180" height="180" />
<icon src="resources/*PACKAGENAME*/ios/icon/icon-60.png" width="60" height="60" />
<icon src="resources/*PACKAGENAME*/ios/icon/icon-60@2x.png" width="120" height="120" />
@ -99,16 +94,13 @@
<icon src="resources/*PACKAGENAME*/ios/icon/icon-50@2x.png" width="100" height="100" />
<icon src="resources/*PACKAGENAME*/ios/icon/icon-1024.png" width="1024" height="1024" />
<splash src="resources/*PACKAGENAME*/ios/splash/Default~iphone.png" width="320" height="480"/>
<splash src="resources/*PACKAGENAME*/ios/splash/Default@2x~iphone.png" width="640" height="960"/>
<splash src="resources/*PACKAGENAME*/ios/splash/Default-Portrait~ipad.png" width="768" height="1024"/>
<splash src="resources/*PACKAGENAME*/ios/splash/Default-Portrait@2x~ipad.png" width="1536" height="2048"/>
<splash src="resources/*PACKAGENAME*/ios/splash/Default-Landscape~ipad.png" width="1024" height="768"/>
<splash src="resources/*PACKAGENAME*/ios/splash/Default-Landscape@2x~ipad.png" width="2048" height="1536"/>
<splash src="resources/*PACKAGENAME*/ios/splash/Default-568h@2x~iphone.png" width="640" height="1136"/>
<splash src="resources/*PACKAGENAME*/ios/splash/Default-667h.png" width="750" height="1334"/>
<splash src="resources/*PACKAGENAME*/ios/splash/Default-736h.png" width="1242" height="2208"/>
<splash src="resources/*PACKAGENAME*/ios/splash/Default-Landscape-736h.png" width="2208" height="1242"/>
<splash src="resources/*PACKAGENAME*/ios/splash/Default@2x~universal~anyany.png" />
<splash src="resources/*PACKAGENAME*/ios/splash/Default@2x~universal~comany.png" />
<splash src="resources/*PACKAGENAME*/ios/splash/Default@2x~universal~comcom.png" />
<splash src="resources/*PACKAGENAME*/ios/splash/Default@3x~universal~anyany.png" />
<splash src="resources/*PACKAGENAME*/ios/splash/Default@3x~universal~anycom.png" />
<splash src="resources/*PACKAGENAME*/ios/splash/Default@3x~universal~comany.png" />
<allow-navigation href="*" />
</platform>

View File

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>*USERVISIBLENAME* - *PURPOSELINE*</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">

View File

@ -21,8 +21,9 @@
"url": "https://github.com/bitpay/copay/issues"
},
"scripts": {
"postinstall": "sed -i -e \"s/.*require(...\\/...);//g\" node_modules/asn1.js-rfc5280/index.js;",
"start": "ionic serve",
"clean": "trash platforms && trash plugins",
"clean": "trash platforms && trash plugins && trash config.xml",
"clean-all": "git clean -dfx",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
@ -79,35 +80,32 @@
"autoprefixer": "^7.1.6",
"bitcore-wallet-client": "^6.4.0",
"buffer-compare": "^1.1.1",
"cordova-android": "^6.3.0",
"cordova-android": "6.4.0",
"cordova-clipboard": "^1.1.0",
"cordova-custom-config": "^4.0.2",
"cordova-ios": "^4.5.3",
"cordova-ios-requires-fullscreen": "^0.0.2",
"cordova-ios": "4.5.3",
"cordova-plugin-android-fingerprint-auth": "^1.4.0",
"cordova-plugin-compat": "^1.2.0",
"cordova-plugin-customurlscheme": "https://github.com/cmgustavo/Custom-URL-scheme.git#v4.0",
"cordova-plugin-device": "^1.1.6",
"cordova-plugin-dialogs": "^1.3.3",
"cordova-plugin-device": "^1.1.7",
"cordova-plugin-dialogs": "^1.3.4",
"cordova-plugin-fcm": "https://github.com/cmgustavo/cordova-plugin-fcm.git",
"cordova-plugin-file": "^4.3.3",
"cordova-plugin-globalization": "^1.0.7",
"cordova-plugin-inappbrowser": "^1.7.1",
"cordova-plugin-file": "^5.0.0",
"cordova-plugin-globalization": "^1.0.8",
"cordova-plugin-inappbrowser": "^1.7.2",
"cordova-plugin-ionic-webview": "^1.1.16",
"cordova-plugin-native-spinner": "^1.0.8",
"cordova-plugin-network-information": "^1.3.3",
"cordova-plugin-network-information": "^1.3.4",
"cordova-plugin-qrscanner": "^2.5.0",
"cordova-plugin-screen-orientation": "^2.0.1",
"cordova-plugin-splashscreen": "^4.0.3",
"cordova-plugin-statusbar": "^2.2.3",
"cordova-plugin-spinner-dialog": "^1.3.1",
"cordova-plugin-splashscreen": "^4.1.0",
"cordova-plugin-statusbar": "^2.3.0",
"cordova-plugin-swift-support": "^3.1.1",
"cordova-plugin-touch-id": "^3.3.1",
"cordova-plugin-transport-security": "^0.1.2",
"cordova-plugin-uniquedeviceid": "^1.3.2",
"cordova-plugin-whitelist": "^1.3.2",
"cordova-plugin-whitelist": "^1.3.3",
"cordova-plugin-x-socialsharing": "^5.2.1",
"cordova-plugin-x-toast": "^2.6.0",
"es6-promise-plugin": "^4.1.0",
"es6-promise-plugin": "^4.1.1",
"ionic-angular": "^3.9.2",
"ionic-plugin-keyboard": "^2.2.1",
"ionicons": "^3.0.0",
@ -122,7 +120,7 @@
"@angular/cli": "^1.5.0",
"@biesbjerg/ngx-translate-extract": "^2.3.4",
"@ionic/app-scripts": "^3.1.0",
"@types/chrome": "^0.0.52",
"@types/chrome": "^0.0.54",
"@types/cordova-plugin-qrscanner": "^1.0.31",
"@types/jasmine": "^2.6.3",
"@types/lodash": "^4.14.83",
@ -163,16 +161,14 @@
"cordova-plugin-x-toast": {},
"cordova-plugin-x-socialsharing": {},
"cordova-plugin-qrscanner": {},
"cordova-plugin-touch-id": {},
"cordova-plugin-touch-id": {
"FACEID_USAGE_DESCRIPTION": " "
},
"cordova-plugin-android-fingerprint-auth": {},
"cordova-plugin-native-spinner": {},
"cordova-plugin-dialogs": {},
"cordova-plugin-network-information": {},
"cordova-plugin-uniquedeviceid": {},
"cordova-plugin-file": {},
"cordova-plugin-transport-security": {},
"cordova-ios-requires-fullscreen": {},
"cordova-plugin-screen-orientation": {},
"cordova-plugin-ionic-webview": {},
"cordova-custom-config": {},
"cordova-plugin-customurlscheme": {
@ -182,11 +178,13 @@
},
"cordova-plugin-fcm": {},
"cordova-plugin-globalization": {},
"cordova-plugin-inappbrowser": {}
"cordova-plugin-inappbrowser": {},
"com.greybax.spinnerdialog": {},
"cordova-plugin-spinner-dialog": {}
},
"platforms": [
"android",
"ios"
]
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 505 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 526 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 550 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 639 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 801 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@ -8,19 +8,25 @@ export class NodeWebkitProvider {
}
public readFromClipboard(): any {
/* DEPRECATED
let gui = require('nw.gui');
let clipboard = gui.Clipboard.get();
return clipboard.get();
*/
};
public writeToClipboard(text): any {
/* DEPRECATED
let gui = require('nw.gui');
let clipboard = gui.Clipboard.get();
return clipboard.set(text);
*/
};
public openExternalLink(url): any {
/* DEPRECATED
let gui = require('nw.gui');
return gui.Shell.openExternal(url);
*/
};
}