Fix build and add splash screen.

Use a build.json file to manage certs in ios
This commit is contained in:
mmcwilliams 2017-12-29 21:43:54 -05:00
parent f899c2e120
commit 01a4f17bf6
4 changed files with 29 additions and 15 deletions

1
app/.gitignore vendored
View File

@ -2,3 +2,4 @@
platforms/* platforms/*
plugins/* plugins/*
node_modules/* node_modules/*
build.json

View File

@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<widget id="com.sixteenmillimeter.intval3" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <widget id="com.sixteenmillimeter.intval3" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>INTVAL</name> <name>INTVAL3</name>
<description> <description>
Mobile control app for the INTVAL intervalometer for Bolex 16mm cameras Mobile control app for the INTVAL intervalometer for Bolex 16mm cameras
</description> </description>
@ -22,6 +22,10 @@
<icon density="xhdpi" src="res/icon/android/xhdpi.png" /> <icon density="xhdpi" src="res/icon/android/xhdpi.png" />
<icon density="xxhdpi" src="res/icon/android/xxhdpi.png" /> <icon density="xxhdpi" src="res/icon/android/xxhdpi.png" />
<icon density="xxxhdpi" src="res/icon/android/xxxhdpi.png" /> <icon density="xxxhdpi" src="res/icon/android/xxxhdpi.png" />
<splash density="port-ldpi" height="426" src="res/screen/android/splash-portrait-ldpi.png" width="320" />
<splash density="port-mdpi" height="470" src="res/screen/android/splash-portrait-mdpi.png" width="320" />
<splash density="port-hdpi" height="640" src="res/screen/android/splash-portrait-hdpi.png" width="480" />
<splash density="port-xhdpi" height="960" src="res/screen/android/splash-portrait-xhdpi.png" width="720" />
</platform> </platform>
<platform name="ios"> <platform name="ios">
<allow-intent href="itms:*" /> <allow-intent href="itms:*" />
@ -29,16 +33,18 @@
<icon height="180" src="res/icon/ios/icon-60@3x.png" width="180" /> <icon height="180" src="res/icon/ios/icon-60@3x.png" width="180" />
<icon height="120" src="res/icon/ios/icon-60@2x.png" width="120" /> <icon height="120" src="res/icon/ios/icon-60@2x.png" width="120" />
<icon height="60" src="res/icon/ios/icon-60.png" width="60" /> <icon height="60" src="res/icon/ios/icon-60.png" width="60" />
<splash height="480" src="res/screen/ios/Default~iphone.png" width="320" />
<splash height="960" src="res/screen/ios/Default@2x~iphone.png" width="640" />
<splash height="1136" src="res/screen/ios/Default-568h@2x~iphone.png" width="640" />
</platform> </platform>
<preference name="DisallowOverscroll" value="true" /> <preference name="DisallowOverscroll" value="true" />
<preference name="StatusBarBackgroundColor" value="#212121" /> <preference name="StatusBarBackgroundColor" value="#212121" />
<engine name="android" spec="^6.4.0" /> <plugin name="cordova-plugin-whitelist" spec="1" />
<engine name="ios" spec="^4.5.4" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<plugin name="cordova-plugin-device" spec="^1.1.7" /> <plugin name="cordova-plugin-device" spec="^1.1.7" />
<plugin name="cordova-plugin-dialogs" spec="^1.3.4" /> <plugin name="cordova-plugin-dialogs" spec="^1.3.4" />
<plugin name="cordova-plugin-statusbar" spec="^2.3.0" /> <plugin name="cordova-plugin-statusbar" spec="^2.3.0" />
<plugin name="cordova-plugin-ble-central" spec="^1.1.4"> <plugin name="cordova-plugin-ble-central" spec="^1.1.4" />
<variable name="BLUETOOTH_USAGE_DESCRIPTION" value="INTVAL intervalometer controls" /> <plugin name="cordova-plugin-splashscreen" spec="~4.1.0" />
</plugin> <engine name="android" spec="^6.4.0" />
<engine name="ios" spec="^4.5.4" />
</widget> </widget>

11
app/package-lock.json generated
View File

@ -546,10 +546,15 @@
"resolved": "https://registry.npmjs.org/cordova-plugin-dialogs/-/cordova-plugin-dialogs-1.3.4.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-dialogs/-/cordova-plugin-dialogs-1.3.4.tgz",
"integrity": "sha1-XMlm7nyZsvW1s934SQAmKLDacVc=" "integrity": "sha1-XMlm7nyZsvW1s934SQAmKLDacVc="
}, },
"cordova-plugin-splashscreen": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-splashscreen/-/cordova-plugin-splashscreen-4.1.0.tgz",
"integrity": "sha1-gQKKt2Q+YVWT0n8q0CRFYR8ZRrY="
},
"cordova-plugin-statusbar": { "cordova-plugin-statusbar": {
"version": "2.3.0", "version": "2.4.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-statusbar/-/cordova-plugin-statusbar-2.3.0.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-statusbar/-/cordova-plugin-statusbar-2.4.0.tgz",
"integrity": "sha1-MU4dAJxlkQzf3gNL/KE71QLJ5eA=" "integrity": "sha1-JOspc3ldEPbxrjIC90+Ix9mQzyA="
}, },
"cordova-plugin-whitelist": { "cordova-plugin-whitelist": {
"version": "1.3.3", "version": "1.3.3",

View File

@ -1,7 +1,7 @@
{ {
"name": "com.sixteenmillimeter.intval3", "name": "com.sixteenmillimeter.intval3",
"displayName": "INTVAL", "displayName": "INTVAL3",
"version": "1.0.0", "version": "1.0.1",
"description": "Mobile control app for the INTVAL intervalometer for Bolex 16mm cameras", "description": "Mobile control app for the INTVAL intervalometer for Bolex 16mm cameras",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
@ -16,7 +16,8 @@
"cordova-plugin-compat": "^1.2.0", "cordova-plugin-compat": "^1.2.0",
"cordova-plugin-device": "^1.1.7", "cordova-plugin-device": "^1.1.7",
"cordova-plugin-dialogs": "^1.3.4", "cordova-plugin-dialogs": "^1.3.4",
"cordova-plugin-statusbar": "^2.3.0", "cordova-plugin-splashscreen": "^4.1.0",
"cordova-plugin-statusbar": "^2.4.0",
"cordova-plugin-whitelist": "^1.3.3" "cordova-plugin-whitelist": "^1.3.3"
}, },
"cordova": { "cordova": {
@ -27,7 +28,8 @@
"cordova-plugin-statusbar": {}, "cordova-plugin-statusbar": {},
"cordova-plugin-ble-central": { "cordova-plugin-ble-central": {
"BLUETOOTH_USAGE_DESCRIPTION": "INTVAL intervalometer controls" "BLUETOOTH_USAGE_DESCRIPTION": "INTVAL intervalometer controls"
} },
"cordova-plugin-splashscreen": {}
}, },
"platforms": [ "platforms": [
"android", "android",