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

3
app/.gitignore vendored
View File

@ -1,4 +1,5 @@
*.DS_Store
platforms/*
plugins/*
node_modules/*
node_modules/*
build.json

View File

@ -1,6 +1,6 @@
<?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">
<name>INTVAL</name>
<name>INTVAL3</name>
<description>
Mobile control app for the INTVAL intervalometer for Bolex 16mm cameras
</description>
@ -22,6 +22,10 @@
<icon density="xhdpi" src="res/icon/android/xhdpi.png" />
<icon density="xxhdpi" src="res/icon/android/xxhdpi.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 name="ios">
<allow-intent href="itms:*" />
@ -29,16 +33,18 @@
<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="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>
<preference name="DisallowOverscroll" value="true" />
<preference name="StatusBarBackgroundColor" value="#212121" />
<engine name="android" spec="^6.4.0" />
<engine name="ios" spec="^4.5.4" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
<plugin name="cordova-plugin-whitelist" spec="1" />
<plugin name="cordova-plugin-device" spec="^1.1.7" />
<plugin name="cordova-plugin-dialogs" spec="^1.3.4" />
<plugin name="cordova-plugin-statusbar" spec="^2.3.0" />
<plugin name="cordova-plugin-ble-central" spec="^1.1.4">
<variable name="BLUETOOTH_USAGE_DESCRIPTION" value="INTVAL intervalometer controls" />
</plugin>
<plugin name="cordova-plugin-ble-central" spec="^1.1.4" />
<plugin name="cordova-plugin-splashscreen" spec="~4.1.0" />
<engine name="android" spec="^6.4.0" />
<engine name="ios" spec="^4.5.4" />
</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",
"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": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-statusbar/-/cordova-plugin-statusbar-2.3.0.tgz",
"integrity": "sha1-MU4dAJxlkQzf3gNL/KE71QLJ5eA="
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-statusbar/-/cordova-plugin-statusbar-2.4.0.tgz",
"integrity": "sha1-JOspc3ldEPbxrjIC90+Ix9mQzyA="
},
"cordova-plugin-whitelist": {
"version": "1.3.3",

View File

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