<uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>

Hello, I am facing issue with

as playstore is rejecting my app due to this one line code i am using ionic 5, if i remove this code i am unable to upload pic from the gallery please help me what will be the solution

I believe you are supposed to use Android’s Photo Picker now. That’s what Capacitor’s Camera plugin does as of Capacitor 6.

What are you currently using to allow the user to pick a file? Maybe take a look at File Picker Plugin for Capacitor - Capawesome.

1 Like

I’m currently using @capawesome/capacitor-file-picker (v5.3.0), and after making a few code changes, it’s working well with SDK 35. Thanks

However, I’m planning to migrate from Capacitor 5 to Capacitor 6. but for now I don’t want to upgrade to a newer Ionic version.My current setup is:

  • Ionic v5

  • Angular v12

  • Node v16

I’d like to know if it’s feasible to upgrade Capacitor to v6 while still using this stack

Capacitor is completely independent of your web stack (Ionic/Angular). The only issue you might run into is Node version mismatches. Capacitor 6 requires Node 18+ and v7 requires Node 20+.