This commit is contained in:
mmcwilliams 2020-01-14 12:00:22 -05:00
commit 3ca335b113
5 changed files with 353 additions and 101 deletions

View File

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<widget id="com.sixteenmillimeter.intval3" version="1.0.4" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <widget id="com.sixteenmillimeter.intval3" version="1.0.5" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>INTVAL3</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
@ -30,19 +30,20 @@
<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 src="res/screen/ios/Default@2x~universal~anyany.png" /> <splash src="res/screen/ios/Default@2x~universal~anyany.png" />
<preference name="APP_SECRET" value="d9cbb435-e432-43d3-ae20-747fccbc8190" />
</platform> </platform>
<preference name="DisallowOverscroll" value="true" /> <preference name="DisallowOverscroll" value="true" />
<preference name="StatusBarBackgroundColor" value="#212121" /> <preference name="StatusBarBackgroundColor" value="#212121" />
<preference name="CameraUsesGeolocation" value="false" /> <preference name="CameraUsesGeolocation" value="false" />
<plugin name="cordova-plugin-whitelist" spec="1" /> <plugin name="cordova-plugin-whitelist" spec="1" />
<plugin name="cordova-plugin-splashscreen" spec="~4.1.0" /> <plugin name="cordova-plugin-splashscreen" spec="~4.1.0" />
<plugin name="cordova-plugin-device" spec="^1.1.7" /> <plugin name="cordova-plugin-device" spec="^2.0.3" />
<plugin name="cordova-plugin-dialogs" spec="^1.3.4" /> <plugin name="cordova-plugin-dialogs" spec="^2.0.2" />
<plugin name="cordova-plugin-ble-central" spec="^1.2.2"> <plugin name="cordova-plugin-ble-central" spec="^1.2.4">
<variable name="BLUETOOTH_USAGE_DESCRIPTION" value="INTVAL3 intervalometer controls" /> <variable name="BLUETOOTH_USAGE_DESCRIPTION" value="INTVAL3 intervalometer controls" />
</plugin> </plugin>
<plugin name="cordova-plugin-statusbar" spec="^2.4.2" /> <plugin name="cordova-plugin-statusbar" spec="^2.4.3" />
<plugin name="cordova-plugin-camera-with-exif" spec="^1.2.4" /> <plugin name="cordova-plugin-camera-with-exif" spec="^1.3.1" />
<engine name="android" spec="^6.4.0" />
<engine name="ios" spec="^4.5.5" /> <engine name="ios" spec="^4.5.5" />
<engine name="android" spec="^7.1.4" />
</widget> </widget>

View File

@ -7,4 +7,6 @@ cordova plugin add cordova-plugin-device
cordova plugin add cordova-plugin-dialogs cordova plugin add cordova-plugin-dialogs
cordova plugin add cordova-plugin-ble-central --variable BLUETOOTH_USAGE_DESCRIPTION="INTVAL3 intervalometer controls" cordova plugin add cordova-plugin-ble-central --variable BLUETOOTH_USAGE_DESCRIPTION="INTVAL3 intervalometer controls"
cordova plugin add cordova-plugin-statusbar cordova plugin add cordova-plugin-statusbar
cordova plugin add cordova-plugin-camera-with-exif cordova plugin add cordova-plugin-camera-with-exif
cordova plugin add cordova-plugin-appcenter-analytics
cordova plugin add cordova-plugin-appcenter-crashes

399
app/package-lock.json generated
View File

@ -1,30 +1,166 @@
{ {
"name": "com.sixteenmillimeter.intval3", "name": "com.sixteenmillimeter.intval3",
"version": "1.0.4", "version": "1.0.5",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
"cordova-android": { "appcenter": {
"version": "6.4.0", "version": "2.6.1",
"resolved": "https://registry.npmjs.org/cordova-android/-/cordova-android-6.4.0.tgz", "resolved": "https://registry.npmjs.org/appcenter/-/appcenter-2.6.1.tgz",
"integrity": "sha1-VK6NpXKKjX5e/MYXLT3MoXvH/n0=", "integrity": "sha512-2o6wZCk1v80Tq4AaXM7i4i9SibFFGesezRtb8fTqQjqSYqrP+umxoLxvu37UwGD7njRc599CALmNvEgbmAwi0g==",
"requires": { "requires": {
"android-versions": "^1.2.1", "appcenter-link-scripts": "2.6.1"
"cordova-common": "^2.1.0", }
},
"appcenter-analytics": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/appcenter-analytics/-/appcenter-analytics-2.6.1.tgz",
"integrity": "sha512-+b1FJ3wxkixiERAwbplY5cswn2IFToJovesfv17Rt8rj5PO3K16XqXfSu3nkBFo7exxmMCU1e+OdL9+iYQWc4g==",
"requires": {
"appcenter": "2.6.1"
}
},
"appcenter-crashes": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/appcenter-crashes/-/appcenter-crashes-2.6.1.tgz",
"integrity": "sha512-iPce1e/lAWGUDv/2hMbGBxUC40wIcTLBO4KcIBIHNd62JfLKsQ3SSnqXF3YDGzjgBLc0jWFmqasTgZJMr4PPaA==",
"requires": {
"appcenter": "2.6.1"
}
},
"appcenter-link-scripts": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/appcenter-link-scripts/-/appcenter-link-scripts-2.6.1.tgz",
"integrity": "sha512-k+ToY1YxPEblQxA2iZU/8RRfKitdVwCU234TV+Pwi5uzoWo3uyy/tAEXXaHIoir+EHAhtrmcHosA+QM0lL/O/g==",
"requires": {
"debug": "4.1.1",
"glob": "5.0.15",
"mkdirp": "0.5.1",
"plist": "3.0.1",
"which": "1.2.11",
"xcode": "2.0.0"
},
"dependencies": {
"glob": {
"version": "5.0.15",
"resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz",
"integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=",
"requires": {
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "2 || 3",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
}
},
"isexe": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-1.1.2.tgz",
"integrity": "sha1-NvPiLmB1CSD15yQaR2qMakInWtA="
},
"which": {
"version": "1.2.11",
"resolved": "https://registry.npmjs.org/which/-/which-1.2.11.tgz",
"integrity": "sha1-yLLu6muMFln6fB3U/aq+lTPcXos=",
"requires": {
"isexe": "^1.1.1"
}
},
"xcode": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/xcode/-/xcode-2.0.0.tgz",
"integrity": "sha512-5xF6RCjAdDEiEsbbZaS/gBRt3jZ/177otZcpoLCjGN/u1LrfgH7/Sgeeavpr/jELpyDqN2im3AKosl2G2W8hfw==",
"requires": {
"simple-plist": "^1.0.0",
"uuid": "^3.3.2"
}
}
}
},
"balanced-match": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
},
"base64-js": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
"integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
},
"big-integer": {
"version": "1.6.48",
"resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.48.tgz",
"integrity": "sha512-j51egjPa7/i+RdiRuJbPdJ2FIUYYPhvYLjzoYbcMMm62ooO6F94fETG4MTs46zPAF9Brs04OajboA/qTGuz78w=="
},
"bplist-creator": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.0.8.tgz",
"integrity": "sha512-Za9JKzD6fjLC16oX2wsXfc+qBEhJBJB1YPInoAQpMLhDuj5aVOv1baGeIQSq1Fr3OCqzvsoQcSBSwGId/Ja2PA==",
"requires": {
"stream-buffers": "~2.2.0"
}
},
"brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
"concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
},
"cordova-android": {
"version": "7.1.4",
"resolved": "https://registry.npmjs.org/cordova-android/-/cordova-android-7.1.4.tgz",
"integrity": "sha512-Rtvu002I83uzfVyCsE6p2krFKVHt9TSAqZUATes+zH+o9cdxYGrLHY+PKCQo4SLCdSMdrkIHCDnQPTYTp/d7+g==",
"requires": {
"abbrev": "*",
"android-versions": "1.4.0",
"ansi": "*",
"balanced-match": "*",
"base64-js": "1.2.0",
"big-integer": "1.6.32",
"bplist-parser": "*",
"brace-expansion": "*",
"concat-map": "*",
"cordova-common": "2.2.5",
"cordova-registry-mapper": "*",
"elementtree": "0.1.6", "elementtree": "0.1.6",
"nopt": "^3.0.1", "glob": "5.0.15",
"properties-parser": "^0.2.3", "inflight": "*",
"q": "^1.4.1", "inherits": "*",
"shelljs": "^0.5.3" "minimatch": "*",
"nopt": "3.0.1",
"once": "*",
"path-is-absolute": "1.0.1",
"plist": "2.1.0",
"properties-parser": "0.2.3",
"q": "1.4.1",
"sax": "0.3.5",
"semver": "5.5.0",
"shelljs": "0.5.3",
"underscore": "*",
"unorm": "*",
"wrappy": "*",
"xmlbuilder": "8.2.2",
"xmldom": "*"
}, },
"dependencies": { "dependencies": {
"abbrev": { "abbrev": {
"version": "1.1.0", "version": "1.1.1",
"bundled": true "bundled": true
}, },
"android-versions": { "android-versions": {
"version": "1.2.1", "version": "1.4.0",
"bundled": true "bundled": true,
"requires": {
"semver": "^5.4.1"
}
}, },
"ansi": { "ansi": {
"version": "0.3.1", "version": "0.3.1",
@ -35,11 +171,11 @@
"bundled": true "bundled": true
}, },
"base64-js": { "base64-js": {
"version": "0.0.8", "version": "1.2.0",
"bundled": true "bundled": true
}, },
"big-integer": { "big-integer": {
"version": "1.6.25", "version": "1.6.32",
"bundled": true "bundled": true
}, },
"bplist-parser": { "bplist-parser": {
@ -50,7 +186,7 @@
} }
}, },
"brace-expansion": { "brace-expansion": {
"version": "1.1.8", "version": "1.1.11",
"bundled": true, "bundled": true,
"requires": { "requires": {
"balanced-match": "^1.0.0", "balanced-match": "^1.0.0",
@ -62,7 +198,7 @@
"bundled": true "bundled": true
}, },
"cordova-common": { "cordova-common": {
"version": "2.1.0", "version": "2.2.5",
"bundled": true, "bundled": true,
"requires": { "requires": {
"ansi": "^0.3.1", "ansi": "^0.3.1",
@ -71,10 +207,8 @@
"elementtree": "0.1.6", "elementtree": "0.1.6",
"glob": "^5.0.13", "glob": "^5.0.13",
"minimatch": "^3.0.0", "minimatch": "^3.0.0",
"osenv": "^0.1.3", "plist": "^2.1.0",
"plist": "^1.2.0",
"q": "^1.4.1", "q": "^1.4.1",
"semver": "^5.0.1",
"shelljs": "^0.5.3", "shelljs": "^0.5.3",
"underscore": "^1.8.3", "underscore": "^1.8.3",
"unorm": "^1.3.3" "unorm": "^1.3.3"
@ -114,10 +248,6 @@
"version": "2.0.3", "version": "2.0.3",
"bundled": true "bundled": true
}, },
"lodash": {
"version": "3.10.1",
"bundled": true
},
"minimatch": { "minimatch": {
"version": "3.0.4", "version": "3.0.4",
"bundled": true, "bundled": true,
@ -126,7 +256,7 @@
} }
}, },
"nopt": { "nopt": {
"version": "3.0.6", "version": "3.0.1",
"bundled": true, "bundled": true,
"requires": { "requires": {
"abbrev": "1" "abbrev": "1"
@ -139,33 +269,16 @@
"wrappy": "1" "wrappy": "1"
} }
}, },
"os-homedir": {
"version": "1.0.2",
"bundled": true
},
"os-tmpdir": {
"version": "1.0.2",
"bundled": true
},
"osenv": {
"version": "0.1.4",
"bundled": true,
"requires": {
"os-homedir": "^1.0.0",
"os-tmpdir": "^1.0.0"
}
},
"path-is-absolute": { "path-is-absolute": {
"version": "1.0.1", "version": "1.0.1",
"bundled": true "bundled": true
}, },
"plist": { "plist": {
"version": "1.2.0", "version": "2.1.0",
"bundled": true, "bundled": true,
"requires": { "requires": {
"base64-js": "0.0.8", "base64-js": "1.2.0",
"util-deprecate": "1.0.2", "xmlbuilder": "8.2.2",
"xmlbuilder": "4.0.0",
"xmldom": "0.1.x" "xmldom": "0.1.x"
} }
}, },
@ -174,7 +287,7 @@
"bundled": true "bundled": true
}, },
"q": { "q": {
"version": "1.5.0", "version": "1.4.1",
"bundled": true "bundled": true
}, },
"sax": { "sax": {
@ -182,7 +295,7 @@
"bundled": true "bundled": true
}, },
"semver": { "semver": {
"version": "5.4.1", "version": "5.5.0",
"bundled": true "bundled": true
}, },
"shelljs": { "shelljs": {
@ -190,27 +303,20 @@
"bundled": true "bundled": true
}, },
"underscore": { "underscore": {
"version": "1.8.3", "version": "1.9.1",
"bundled": true "bundled": true
}, },
"unorm": { "unorm": {
"version": "1.4.1", "version": "1.4.1",
"bundled": true "bundled": true
}, },
"util-deprecate": {
"version": "1.0.2",
"bundled": true
},
"wrappy": { "wrappy": {
"version": "1.0.2", "version": "1.0.2",
"bundled": true "bundled": true
}, },
"xmlbuilder": { "xmlbuilder": {
"version": "4.0.0", "version": "8.2.2",
"bundled": true, "bundled": true
"requires": {
"lodash": "^3.5.0"
}
}, },
"xmldom": { "xmldom": {
"version": "0.1.27", "version": "0.1.27",
@ -512,15 +618,30 @@
} }
} }
}, },
"cordova-plugin-appcenter-analytics": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/cordova-plugin-appcenter-analytics/-/cordova-plugin-appcenter-analytics-0.5.1.tgz",
"integrity": "sha512-at9qN/ogjxe+PtUE93uKJOnHRojazjUm0ncLiGe48SYENOQOyL6nMyLTws+neuDnn9OVYNiPOvPVQuGjvWJYHg=="
},
"cordova-plugin-appcenter-crashes": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/cordova-plugin-appcenter-crashes/-/cordova-plugin-appcenter-crashes-0.5.1.tgz",
"integrity": "sha512-PCRCFoR5tUL2NoGRXYpKnJdtKAlRMZava8qOu/hH2uicGg+BHcF3IlZka2TSjJM1Sho3LIWgTgTMSds5i3OqEQ=="
},
"cordova-plugin-appcenter-shared": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/cordova-plugin-appcenter-shared/-/cordova-plugin-appcenter-shared-0.5.1.tgz",
"integrity": "sha512-Kh7Nv6U+oa8rg6lMep8NJIMmmNYFN1aZyF68u9GBI5SG8MeMB2kkPuFc6aSq9KeuV5BTSGyW80xmQX1Mag/n5g=="
},
"cordova-plugin-ble-central": { "cordova-plugin-ble-central": {
"version": "1.2.2", "version": "1.2.4",
"resolved": "https://registry.npmjs.org/cordova-plugin-ble-central/-/cordova-plugin-ble-central-1.2.2.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-ble-central/-/cordova-plugin-ble-central-1.2.4.tgz",
"integrity": "sha512-81+BD9UQSp8Fuati9bPvKG/6lSGHHtw3JeLxQl8Q85ZS1n3GkSfA3DBMqKRjmOG6OVe4csR+XcO7cd75HMl6Qg==" "integrity": "sha512-NBRcAiH+VbKbmM3iNY3Psa4jGDYjWm/KGB3sikv0Fv0ZWfsI7XqjX6Fs6hmQJ+M7/X4qe/s8zDwRkQgU7ZOrjw=="
}, },
"cordova-plugin-camera-with-exif": { "cordova-plugin-camera-with-exif": {
"version": "1.2.4", "version": "1.3.1",
"resolved": "https://registry.npmjs.org/cordova-plugin-camera-with-exif/-/cordova-plugin-camera-with-exif-1.2.4.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-camera-with-exif/-/cordova-plugin-camera-with-exif-1.3.1.tgz",
"integrity": "sha1-doF8Dq2LZoGg6Fn5dUceDlaw0xw=" "integrity": "sha512-R4MeOQ0YI3vKHOc/iGCHcC4xo+t4ziBRG1D1BqaSi2ejtDtEfN+kIcaPC3AEzSJbdzVnN5hFyGZp9hNN067oBw=="
}, },
"cordova-plugin-compat": { "cordova-plugin-compat": {
"version": "1.2.0", "version": "1.2.0",
@ -528,34 +649,152 @@
"integrity": "sha1-C8ZXVyduvZIMASzpIOJ0F3V2Nz4=" "integrity": "sha1-C8ZXVyduvZIMASzpIOJ0F3V2Nz4="
}, },
"cordova-plugin-device": { "cordova-plugin-device": {
"version": "1.1.7", "version": "2.0.3",
"resolved": "https://registry.npmjs.org/cordova-plugin-device/-/cordova-plugin-device-1.1.7.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-device/-/cordova-plugin-device-2.0.3.tgz",
"integrity": "sha1-/JQRG+aTJijGaGiTjd89yCyfv+Y=" "integrity": "sha512-Jb3V72btxf3XHpkPQsGdyc8N6tVBYn1vsxSFj43fIz9vonJDUThYPCJJHqk6PX6N4dJw6I4FjxkpfCR4LDYMlw=="
}, },
"cordova-plugin-dialogs": { "cordova-plugin-dialogs": {
"version": "1.3.4", "version": "2.0.2",
"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-2.0.2.tgz",
"integrity": "sha1-XMlm7nyZsvW1s934SQAmKLDacVc=" "integrity": "sha512-FUHI6eEVeoz2VkxbF0P56QlUQLGzXcvw3i4xuXyM9gEct6Y+FA3Xzgl2pJTZcTg5wRqLWzN08kgNoHPkom15pw=="
}, },
"cordova-plugin-splashscreen": { "cordova-plugin-splashscreen": {
"version": "4.1.0", "version": "5.0.3",
"resolved": "https://registry.npmjs.org/cordova-plugin-splashscreen/-/cordova-plugin-splashscreen-4.1.0.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-splashscreen/-/cordova-plugin-splashscreen-5.0.3.tgz",
"integrity": "sha1-gQKKt2Q+YVWT0n8q0CRFYR8ZRrY=" "integrity": "sha512-rnoDXMDfzoeHDBvsnu6JmzDE/pV5YJCAfc5hYX/Mb2BIXGgSjFJheByt0tU6kp3Wl40tSyFX4pYfBwFblBGyRg=="
}, },
"cordova-plugin-statusbar": { "cordova-plugin-statusbar": {
"version": "2.4.2", "version": "2.4.3",
"resolved": "https://registry.npmjs.org/cordova-plugin-statusbar/-/cordova-plugin-statusbar-2.4.2.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-statusbar/-/cordova-plugin-statusbar-2.4.3.tgz",
"integrity": "sha1-/B+9wNjXAzp+jh8ff/FnrJvU+vY=" "integrity": "sha512-ThmXzl6QIKWFXf4wWw7Q/zpB+VKkz3VM958+5A0sXD4jmR++u7KnGttLksXshVwWr6lvGwUebLYtIyXwS4Ovcg=="
}, },
"cordova-plugin-whitelist": { "cordova-plugin-whitelist": {
"version": "1.3.3", "version": "1.3.4",
"resolved": "https://registry.npmjs.org/cordova-plugin-whitelist/-/cordova-plugin-whitelist-1.3.3.tgz", "resolved": "https://registry.npmjs.org/cordova-plugin-whitelist/-/cordova-plugin-whitelist-1.3.4.tgz",
"integrity": "sha1-tehezbv+Wu3tQKG/TuI3LmfZb7Q=" "integrity": "sha512-EYC5eQFVkoYXq39l7tYKE6lEjHJ04mvTmKXxGL7quHLdFPfJMNzru/UYpn92AOfpl3PQaZmou78C7EgmFOwFQQ=="
},
"debug": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
"requires": {
"ms": "^2.1.1"
}
},
"inflight": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
"requires": {
"once": "^1.3.0",
"wrappy": "1"
}
},
"inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"minimatch": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"requires": {
"brace-expansion": "^1.1.7"
}
},
"mkdirp": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
"requires": {
"minimist": "0.0.8"
},
"dependencies": {
"minimist": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
}
}
},
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
"requires": {
"wrappy": "1"
}
},
"path-is-absolute": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
}, },
"pegjs": { "pegjs": {
"version": "0.10.0", "version": "0.10.0",
"resolved": "http://registry.npmjs.org/pegjs/-/pegjs-0.10.0.tgz", "resolved": "https://registry.npmjs.org/pegjs/-/pegjs-0.10.0.tgz",
"integrity": "sha1-z4uvrm7d/0tafvsYUmnqr0YQ3b0=" "integrity": "sha1-z4uvrm7d/0tafvsYUmnqr0YQ3b0="
},
"plist": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/plist/-/plist-3.0.1.tgz",
"integrity": "sha512-GpgvHHocGRyQm74b6FWEZZVRroHKE1I0/BTjAmySaohK+cUn+hZpbqXkc3KWgW3gQYkqcQej35FohcT0FRlkRQ==",
"requires": {
"base64-js": "^1.2.3",
"xmlbuilder": "^9.0.7",
"xmldom": "0.1.x"
}
},
"simple-plist": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/simple-plist/-/simple-plist-1.1.0.tgz",
"integrity": "sha512-2i5Tc0BYAqppM7jVzmNrI+aEUntPolIq4fDgji6WuNNn1D/qYdn2KwoLhZdzQkE04lu9L5tUoeJsjuJAvd+lFg==",
"requires": {
"bplist-creator": "0.0.8",
"bplist-parser": "0.2.0",
"plist": "^3.0.1"
},
"dependencies": {
"bplist-parser": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.2.0.tgz",
"integrity": "sha512-z0M+byMThzQmD9NILRniCUXYsYpjwnlO8N5uCFaCqIOpqRsJCrQL9NK3JsD67CN5a08nF5oIL2bD6loTdHOuKw==",
"requires": {
"big-integer": "^1.6.44"
}
}
}
},
"stream-buffers": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/stream-buffers/-/stream-buffers-2.2.0.tgz",
"integrity": "sha1-kdX1Ew0c75bc+n9yaUUYh0HQnuQ="
},
"uuid": {
"version": "3.3.3",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz",
"integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ=="
},
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"xmlbuilder": {
"version": "9.0.7",
"resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz",
"integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0="
},
"xmldom": {
"version": "0.1.31",
"resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.31.tgz",
"integrity": "sha512-yS2uJflVQs6n+CyjHoaBmVSqIDevTAWrzMmjG1Gc7h1qQ7uVozNhEPJAwZXWyGQ/Gafo3fCwrcaokezLPupVyQ=="
} }
} }
} }

View File

@ -1,25 +1,32 @@
{ {
"name": "com.sixteenmillimeter.intval3", "name": "com.sixteenmillimeter.intval3",
"displayName": "INTVAL3", "displayName": "INTVAL3",
"version": "1.0.4", "version": "1.0.5",
"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": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1",
"ios": "cordova build ios --buildFlag='-UseModernBuildSystem=0'"
}, },
"author": "M McWilliams", "author": "M McWilliams",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"cordova-android": "^6.4.0", "appcenter": "^2.6.1",
"appcenter-analytics": "^2.6.1",
"appcenter-crashes": "^2.6.1",
"cordova-android": "^7.1.4",
"cordova-ios": "^4.5.5", "cordova-ios": "^4.5.5",
"cordova-plugin-ble-central": "^1.2.2", "cordova-plugin-appcenter-analytics": "^0.5.1",
"cordova-plugin-camera-with-exif": "^1.2.4", "cordova-plugin-appcenter-crashes": "^0.5.1",
"cordova-plugin-appcenter-shared": "^0.5.1",
"cordova-plugin-ble-central": "^1.2.4",
"cordova-plugin-camera-with-exif": "^1.3.1",
"cordova-plugin-compat": "^1.2.0", "cordova-plugin-compat": "^1.2.0",
"cordova-plugin-device": "^1.1.7", "cordova-plugin-device": "^2.0.3",
"cordova-plugin-dialogs": "^1.3.4", "cordova-plugin-dialogs": "^2.0.2",
"cordova-plugin-splashscreen": "^4.1.0", "cordova-plugin-splashscreen": "^5.0.3",
"cordova-plugin-statusbar": "^2.4.2", "cordova-plugin-statusbar": "^2.4.3",
"cordova-plugin-whitelist": "^1.3.3" "cordova-plugin-whitelist": "^1.3.4"
}, },
"cordova": { "cordova": {
"plugins": { "plugins": {
@ -31,11 +38,13 @@
"BLUETOOTH_USAGE_DESCRIPTION": "INTVAL3 intervalometer controls" "BLUETOOTH_USAGE_DESCRIPTION": "INTVAL3 intervalometer controls"
}, },
"cordova-plugin-splashscreen": {}, "cordova-plugin-splashscreen": {},
"cordova-plugin-camera-with-exif": {} "cordova-plugin-camera-with-exif": {},
"cordova-plugin-appcenter-analytics": {},
"cordova-plugin-appcenter-crashes": {}
}, },
"platforms": [ "platforms": [
"android", "ios",
"ios" "android"
] ]
} }
} }

View File

@ -162,6 +162,7 @@ mobile.init = function () {
mobile.getState = function () { mobile.getState = function () {
if (!mobile.ble.connected) { if (!mobile.ble.connected) {
//returning here will prevent error alert //returning here will prevent error alert
return true
} }
ble.read(mobile.ble.device.id, ble.read(mobile.ble.device.id,
mobile.ble.SERVICE_ID, mobile.ble.SERVICE_ID,