From 9b0809cfd13470fe5e8c95b7ee482765ddec7708 Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Thu, 14 Dec 2023 18:56:26 +0100 Subject: [PATCH] docs(camera): Information about Photo Picker fallback (#1962) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dan Giralté <97970732+giralte-ionic@users.noreply.github.com> --- camera/README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/camera/README.md b/camera/README.md index 54963c5f6..49a48d096 100644 --- a/camera/README.md +++ b/camera/README.md @@ -21,7 +21,30 @@ Read about [Configuring `Info.plist`](https://capacitorjs.com/docs/ios/configura ## Android -This API requires no permissions, unless using `saveToGallery: true`, in that case the following permissions should be added to your `AndroidManifest.xml`: +When picking existing images from the device gallery, the Android Photo Picker component is now used. The Photo Picker is available on devices that meet the following criteria: + +- Run Android 11 (API level 30) or higher +- Receive changes to Modular System Components through Google System Updates + +Older devices and Android Go devices running Android 11 or 12 that support Google Play services can install a backported version of the photo picker. To enable the automatic installation of the backported photo picker module through Google Play services, add the following entry to the `` tag in your `AndroidManifest.xml` file: + +```xml + + + + + + + + +``` + +If that entry is not added, the devices that don't support the Photo Picker, the Photo Picker component fallbacks to `Intent.ACTION_OPEN_DOCUMENT`. + +The Camera plugin requires no permissions, unless using `saveToGallery: true`, in that case the following permissions should be added to your `AndroidManifest.xml`: ```xml