Skip to content

Commit

Permalink
Merge pull request #33 from happinov/android-camera-fix
Browse files Browse the repository at this point in the history
Fixed requestCameraAuthorization returning DENIED_ALWAYS when access is granted
  • Loading branch information
dpa99c committed Feb 7, 2016
2 parents a7b8fc9 + 2abb480 commit 97ec946
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions www/android/diagnostic.js
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,6 @@ var Diagnostic = (function(){
successCallback(combineCameraStatuses(statuses));
}
Diagnostic.requestRuntimePermissions(onSuccess, errorCallback, [
Diagnostic.runtimePermission.CAMERA,
Diagnostic.runtimePermission.READ_EXTERNAL_STORAGE
]);
};
Expand All @@ -636,7 +635,6 @@ var Diagnostic = (function(){
successCallback(combineCameraStatuses(statuses));
}
Diagnostic.getPermissionsAuthorizationStatus(onSuccess, errorCallback, [
Diagnostic.runtimePermission.CAMERA,
Diagnostic.runtimePermission.READ_EXTERNAL_STORAGE
]);
};
Expand Down

0 comments on commit 97ec946

Please sign in to comment.