FS-8213 #resolve [Add support to skip permission checks on verto]

This commit is contained in:
Anthony Minessale
2015-09-25 20:00:03 -05:00
parent 73acb558cc
commit 90124856d4
5 changed files with 55 additions and 34 deletions

View File

@@ -576,12 +576,12 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
if(data.mediaPerm) {
ourBootstrap();
} else {
$.verto.init({}, ourBootstrap, false);
$.verto.init({skipDeviceCheck: true}, ourBootstrap);
}
},
mediaPerm: function(callback) {
$.verto.init({}, callback, false);
$.FSRTC.checkPerms(callback, true, true);
},
/**