From af6c5fac509632a68b8649f88be23b06d7e2571a Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Tue, 21 Jan 2020 13:38:27 +0530 Subject: update inappbrowser #890 --- config.xml | 10 +++++----- package.json | 8 ++++---- www/js/HelpCtrl.js | 6 ++++-- www/js/NVR.js | 2 +- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/config.xml b/config.xml index 3156e623..da59a6a4 100644 --- a/config.xml +++ b/config.xml @@ -1,5 +1,5 @@ - + zmNinja High performance ZoneMinder client @@ -174,11 +174,11 @@ - - - - + + + + diff --git a/package.json b/package.json index a14c47a4..07778fa3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "zmninjapro", "description": "Home security mobile app for ZoneMinder", - "version": "1.3.086", + "version": "1.3.087", "displayName": "zmNinja", "author": "Pliable Pixels", "license": "custom see LICENSE.md", @@ -57,11 +57,11 @@ "cordova-plugin-photo-library": { "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Save monitor photos to albums" }, + "cordova-plugin-media-pp-fork": {}, "cordova-plugin-inappbrowser": {}, "cordova-plugin-ionic-webview": { "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+" - }, - "cordova-plugin-media-pp-fork": {} + } } }, "dependencies": { @@ -84,7 +84,7 @@ "cordova-plugin-file-transfer": "^1.7.1", "cordova-plugin-globalization": "^1.11.0", "cordova-plugin-ignore-lint-translation": "0.0.1", - "cordova-plugin-inappbrowser": "git+https://github.com/apache/cordova-plugin-inappbrowser.git", + "cordova-plugin-inappbrowser": "3.2.0", "cordova-plugin-insomnia": "^4.3.0", "cordova-plugin-ionic-keyboard": "^2.1.3", "cordova-plugin-ionic-webview": "git+https://github.com/pliablepixels/cordova-plugin-ionic-webview.git", diff --git a/www/js/HelpCtrl.js b/www/js/HelpCtrl.js index 2e40914e..05550be8 100644 --- a/www/js/HelpCtrl.js +++ b/www/js/HelpCtrl.js @@ -69,9 +69,11 @@ angular.module('zmApp.controllers').controller('zmApp.HelpCtrl', ['$scope', '$ro if ($rootScope.platformOS == 'desktop' ) { window.open(url, '_blank', options); } else { - cordova.InAppBrowser.open(url, '_blank', options); + cordova.InAppBrowser.open(url, '_blank', 'location=no'); + + // cordova.InAppBrowser.open(url, '_blank', options); } - + return false; }; diff --git a/www/js/NVR.js b/www/js/NVR.js index 5b6eb0fd..05a23025 100644 --- a/www/js/NVR.js +++ b/www/js/NVR.js @@ -21,7 +21,7 @@ angular.module('zmApp.controllers') DO NOT TOUCH zmAppVersion It is changed by sync_version.sh */ - var zmAppVersion = "1.3.086"; + var zmAppVersion = "1.3.087"; var isBackground = false; var justResumed = false; -- cgit v1.2.3