Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Android 13/API 33 media storage permissions #488

Closed
epetre opened this issue Jan 11, 2023 · 3 comments
Closed

Support Android 13/API 33 media storage permissions #488

epetre opened this issue Jan 11, 2023 · 3 comments
Labels
android Relates to Android platform TODO Something needs doing

Comments

@epetre
Copy link

epetre commented Jan 11, 2023

Hey guys, do you plan on supporting Android 13 soon?
Other plugins are also trying to and having issues with the WRITE_EXTERNAL_STORAGE permission.

apache/cordova-plugin-camera#814

Are there any plans on supporting it or will this plugin be incompatible with Android 13 / API 33 ?

@dpa99c dpa99c changed the title Support for Android 13 and API 33. Support Android 13/API 33 media storage permissions Jan 12, 2023
@dpa99c dpa99c added TODO Something needs doing android Relates to Android platform labels Jan 12, 2023
@gmbad
Copy link

gmbad commented Apr 8, 2023

Hello Dave!

Can you publish a new release with these changes?

I updated my app to API 33 and I'm having this problem.

Thank you very much,

Gab

@gmbad
Copy link

gmbad commented Apr 8, 2023

Hi Dave!

I got the development version.

In config.xml, should I add READ_MEDIA_IMAGES and READ_MEDIA_VIDEO?

    <custom-config-file parent="/*" target="AndroidManifest.xml">
        <uses-permission android:name="android.permission.CAMERA" />
        <uses-permission android:name="android.permission.RECORD_AUDIO" />
        <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
        **<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
        <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />**
    </custom-config-file>  

Thanks!

@bonjourjoel
Copy link

Hi, this fix looks good. How to install it please?

@dpa99c dpa99c closed this as completed in 823f0a0 May 22, 2023
ath0mas added a commit to ns0m/cordova-diagnostic-plugin that referenced this issue Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Relates to Android platform TODO Something needs doing
Projects
None yet
Development

No branches or pull requests

4 participants