Skip to content

Commit

Permalink
fix: removed WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE permiss…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
ryaa committed Apr 19, 2021
1 parent 8ec4752 commit 04af318
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@

@NativePlugin(
permissions = {
Manifest.permission.CAMERA,
Manifest.permission.WRITE_EXTERNAL_STORAGE,
Manifest.permission.READ_EXTERNAL_STORAGE
Manifest.permission.CAMERA
},
requestCodes = {
CameraPreview.REQUEST_CAMERA_PERMISSION
Expand Down Expand Up @@ -60,9 +58,7 @@ public void start(PluginCall call) {
startCamera(call);
} else {
pluginRequestPermissions(new String[]{
Manifest.permission.CAMERA,
Manifest.permission.WRITE_EXTERNAL_STORAGE,
Manifest.permission.READ_EXTERNAL_STORAGE
Manifest.permission.CAMERA
}, REQUEST_CAMERA_PERMISSION);
}
}
Expand Down

0 comments on commit 04af318

Please sign in to comment.