diff options
Diffstat (limited to 'www/js/MenuController.js')
| -rw-r--r-- | www/js/MenuController.js | 5 |
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)"); |
