Fix camera permissions for Android 6 (#4102)
This commit is contained in:
parent
4761b68fcd
commit
fea6bb7938
2 changed files with 3 additions and 4 deletions
|
|
@ -30,7 +30,7 @@ angular.module('copayApp.directives')
|
|||
window.ignoreMobilePause = true;
|
||||
window.plugins.spinnerDialog.show(null, gettextCatalog.getString('Preparing camera...'), true);
|
||||
$timeout(function() {
|
||||
if (!isMobile.Windows()) {
|
||||
if (isMobile.iOS()) {
|
||||
cloudSky.zBar.scan({}, onSuccess, onError);
|
||||
} else {
|
||||
cordova.plugins.barcodeScanner.scan(onSuccess, onError);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue