From 60acaf9c2c33cbe948c9f7d79f008ed98dfcc3c7 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 30 Mar 2020 08:41:40 -0400 Subject: [PATCH] #914 first phase of changes --- config.xml | 33 ++++++++++++++++++++------------- make_dist.sh | 8 +++++++- package.json | 46 ++++++++++++++++++++++++---------------------- www/index.html | 3 ++- www/js/app.js | 4 ++-- 5 files changed, 55 insertions(+), 39 deletions(-) diff --git a/config.xml b/config.xml index a624485d2..b2e8875aa 100644 --- a/config.xml +++ b/config.xml @@ -1,5 +1,5 @@ - + zmNinja High performance ZoneMinder client @@ -41,6 +41,7 @@ + @@ -132,8 +133,6 @@ - - @@ -147,7 +146,6 @@ - @@ -159,27 +157,36 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + diff --git a/make_dist.sh b/make_dist.sh index 8a450ef9a..61726a7cf 100755 --- a/make_dist.sh +++ b/make_dist.sh @@ -1,2 +1,8 @@ +#!/bin/bash +DISTROS="dist-all" rm -fr dist/ -npm run dist-all +echo $1 +if [ ! -z "$1" ]; then + DISTROS=$1 +fi +npm run dist-${DISTROS} diff --git a/package.json b/package.json index a20d97c6a..f0ce8b9fc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "zmninjapro", "description": "Home security mobile app for ZoneMinder", - "version": "1.3.091", + "version": "1.3.093", "displayName": "zmNinja", "author": "Pliable Pixels", "license": "custom see LICENSE.md", @@ -11,8 +11,6 @@ "ios" ], "plugins": { - "cordova-plugin-android-permissions": {}, - "cordova-plugin-app-version": {}, "cordova-plugin-customurlscheme": { "URL_SCHEME": "zmninja", "ANDROID_SCHEME": " ", @@ -25,9 +23,6 @@ "cordova-plugin-pin-dialog": {}, "cordova-plugin-whitelist": {}, "cordova-sqlite-storage": {}, - "cordova-plugin-touch-id": { - "FACEID_USAGE_DESCRIPTION": " " - }, "cordova-plugin-android-fingerprint-auth": {}, "cordova-plugin-network-information": {}, "cordova-plugin-device": {}, @@ -39,13 +34,6 @@ "cordova-plugin-cloud-settings": { "ANDROID_BACKUP_SERVICE_KEY": "AEdPqrEAAAAIqF-OaHdwIzZhx2L1WOfAGTagBxm5a1R4wBW_Uw" }, - "cordova-plugin-ionic-keyboard": {}, - "cordova-plugin-advanced-http": { - "OKHTTP_VERSION": "3.10.0" - }, - "cordova-plugin-x-socialsharing": { - "ANDROID_SUPPORT_V4_VERSION": "24.1.1+" - }, "cordova-custom-config": {}, "cordova-plugin-advanced-websocket": {}, "cordova-plugin-splashscreen": {}, @@ -53,12 +41,26 @@ "cordova-plugin-photo-library": { "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Save monitor photos to albums" }, - "cordova-plugin-inappbrowser": {}, "cordova-support-google-services": {}, "phonegap-plugin-push": { "ANDROID_SUPPORT_V13_VERSION": "27.+", "FCM_VERSION": "17.0.+" }, + "cordova-plugin-advanced-http": { + "OKHTTP_VERSION": "3.10.0" + }, + "cordova-plugin-x-socialsharing": { + "ANDROID_SUPPORT_V4_VERSION": "24.1.1+", + "PHOTO_LIBRARY_ADD_USAGE_DESCRIPTION": "This app requires photo library access to function properly.", + "PHOTO_LIBRARY_USAGE_DESCRIPTION": "This app requires photo library access to function properly." + }, + "cordova-plugin-ionic-keyboard": {}, + "cordova-plugin-touch-id": { + "FACEID_USAGE_DESCRIPTION": "" + }, + "cordova-plugin-android-permissions": {}, + "cordova-plugin-inappbrowser": {}, + "cordova-plugin-app-version": {}, "cordova-plugin-ionic-webview": { "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+" }, @@ -69,14 +71,14 @@ "clivas": "^0.2.0", "cordova-android": "8.0.0", "cordova-custom-config": "^5.1.0", - "cordova-ios": "^5.0.1", + "cordova-ios": "5.1.1", "cordova-library-helper-pp-fork": "^1.0.1", "cordova-plugin-add-swift-support": "1.7.2", "cordova-plugin-advanced-http": "git+https://github.com/silkimen/cordova-plugin-advanced-http.git", "cordova-plugin-advanced-websocket": "^1.1.5", "cordova-plugin-android-fingerprint-auth": "^1.5.0", - "cordova-plugin-android-permissions": "^1.0.0", - "cordova-plugin-app-version": "^0.1.9", + "cordova-plugin-android-permissions": "1.0.2", + "cordova-plugin-app-version": "0.1.9", "cordova-plugin-cloud-settings": "^1.0.4", "cordova-plugin-customurlscheme": "^4.4.0", "cordova-plugin-device": "^2.0.3", @@ -84,9 +86,9 @@ "cordova-plugin-file-transfer": "^1.7.1", "cordova-plugin-globalization": "^1.11.0", "cordova-plugin-ignore-lint-translation": "0.0.1", - "cordova-plugin-inappbrowser": "3.2.0", + "cordova-plugin-inappbrowser": "git+https://github.com/apache/cordova-plugin-inappbrowser.git", "cordova-plugin-insomnia": "^4.3.0", - "cordova-plugin-ionic-keyboard": "^2.1.3", + "cordova-plugin-ionic-keyboard": "2.2.0", "cordova-plugin-ionic-webview": "git+https://github.com/pliablepixels/cordova-plugin-ionic-webview.git", "cordova-plugin-media-pp-fork": "^1.0.2-dev", "cordova-plugin-multi-window": "0.0.3", @@ -95,9 +97,9 @@ "cordova-plugin-pin-dialog": "^0.1.3", "cordova-plugin-splashscreen": "git+https://github.com/prageeth/cordova-plugin-splashscreen.git", "cordova-plugin-statusbar": "^2.4.3", - "cordova-plugin-touch-id": "^3.4.0", + "cordova-plugin-touch-id": "3.4.0", "cordova-plugin-whitelist": "^1.3.4", - "cordova-plugin-x-socialsharing": "^5.4.7", + "cordova-plugin-x-socialsharing": "5.6.4", "cordova-sqlite-storage": "^1.5.3", "cordova-support-google-services": "1.3.2", "deep-equal": "^1.0.1", @@ -106,7 +108,7 @@ "electron-osx-sign": "^0.4.15", "electron-window-state": "^4.1.1", "es-abstract": "^1.17.0", - "es6-promise-plugin": "^4.2.2", + "es6-promise-plugin": "4.2.2", "function-bind": "^1.1.1", "has": "^1.0.3", "has-symbols": "^1.0.1", diff --git a/www/index.html b/www/index.html index 89075b376..ac63a370b 100644 --- a/www/index.html +++ b/www/index.html @@ -84,6 +84,7 @@ + @@ -148,7 +149,7 @@ window.ionic.Platform.ready(function () { - // console.log("******* PLATFORM READY ****"); + //console.log("******* PLATFORM READY ****"); angular.bootstrap(document, ['zmApp']); }); diff --git a/www/js/app.js b/www/js/app.js index 57f32aa2e..225251e5f 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -21,7 +21,7 @@ angular.module('zmApp', [ 'uk.ac.soton.ecs.videogular.plugins.cuepoints', 'dcbImgFallback', 'angular-websocket', - 'ngCookies' + 'ngCookies', ]) @@ -1832,7 +1832,7 @@ angular.module('zmApp', [ } function continueRestOfInit() { - + // use desktop state for mobile too as // mobile now quits if ($rootScope.platformOS == 'desktop' || 1) {