From e7129edf82c50a9b9f1b66758e36b50332cfa19f Mon Sep 17 00:00:00 2001 From: Tiago Alves Date: Thu, 6 Aug 2020 14:49:54 +0000 Subject: [PATCH] Add note for Android 10 permissions. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 9a4412b..7133df5 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,16 @@ camera.requestPermissions().then( > **Note for Android:** Older versions of Android that don't use a request permissions popup won't be affected by the usage of the requestPermissions method. +> **Note for Android >=10:** You need to add the following key `android:requestLegacyExternalStorage="true"` if you are targetting API 29 or higher. +``` + + + + ... + + +``` + > **Note for iOS:** If the user rejects permissions from the iOS popup, the app is not allowed to ask again. You can instruct the user to go to app settings and enable the camera permission manually from there. Additionally, [App Store Guideline 5.1.1](https://developer.apple.com/app-store/review/guidelines/#data-collection-and-storage) requires apps to clarify the usage of the camera and photo library. To do so, edit your `app/App_Resources/iOS/Info.plist` and add the following clarifications: ```