diff --git a/README.md b/README.md index 651e1104e..c9e0da2cc 100644 --- a/README.md +++ b/README.md @@ -276,9 +276,6 @@ Reference for more details https://github.com/ivpusic/react-native-image-crop-pi - If you use SDK version >= 33, add following to `app/src/main/AndroidManifest.xml` - `` -- [Optional] If you want to use camera picker in your project, add following to `app/src/main/AndroidManifest.xml` - - `` - - [Optional] If you want to use front camera, also add following to `app/src/main/ AndroidManifest.xml` - `` diff --git a/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java b/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java index 5de0845b2..b8aebdf5e 100644 --- a/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java +++ b/android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java @@ -309,7 +309,7 @@ public void openCamera(final ReadableMap options, final Promise promise) { setConfiguration(options); resultCollector.setup(promise, false); - permissionsCheck(activity, promise, Arrays.asList(Manifest.permission.CAMERA, Manifest.permission.WRITE_EXTERNAL_STORAGE), new Callable() { + permissionsCheck(activity, promise, Arrays.asList(Manifest.permission.WRITE_EXTERNAL_STORAGE), new Callable() { @Override public Void call() { initiateCamera(activity);