summaryrefslogtreecommitdiff
path: root/www/js/MenuController.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-11-14 09:54:46 -0500
committerPliable Pixels <pliablepixels@gmail.com>2018-11-14 09:54:46 -0500
commited485b7a29ceb8b59e36ed09f8373dcb88f79461 (patch)
tree06da921491ca5fe05510f3140f830ada7958b9f2 /www/js/MenuController.js
parent754b54f8687c5e0e4b23f5365bedcfa4c55b019c (diff)
updates to remove wkwebview from android - causes issues displaying images with self signed
Diffstat (limited to 'www/js/MenuController.js')
-rw-r--r--www/js/MenuController.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/js/MenuController.js b/www/js/MenuController.js
index 39b6ce7f..69e26686 100644
--- a/www/js/MenuController.js
+++ b/www/js/MenuController.js
@@ -101,6 +101,11 @@ angular.module('zmApp.controllers').controller('MenuController', ['$scope', '$io
console.log('-->Error setting SSL permissive');
});
+ if ($rootScope.platformOS == 'android') {
+ log (">>> Android: enabling inline image view for self signed certs");
+ cordova.plugins.certificates.trustUnsecureCerts(true);
+ }
+
} else {
NVRDataModel.log(">>>> Enabling strict SSL checking (turn off in Dev Options if you can't connect)");