summaryrefslogtreecommitdiff
path: root/www/js/LoginCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/LoginCtrl.js')
-rw-r--r--www/js/LoginCtrl.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js
index 09a48ac2..b24514f6 100644
--- a/www/js/LoginCtrl.js
+++ b/www/js/LoginCtrl.js
@@ -607,6 +607,11 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
console.log('-->Error setting SSL permissive');
});
+ if ($rootScope.platformOS == 'android') {
+ NVRDataModel.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)");