After SDK33: required storage permissions on Android 13+ (READ_MEDIA_...) missing

And for some components the automatically requested old permission (READ_EXTERNAL_STORAGE) must be removed (or replaced) for Android 13+.

1 Like

I will revisit this thread this weekend

What is the date of those upcoming update? So I can notify my clients about this.

Is there any news about this?

Where are those updates? Its been a so long time. We’re dying by taking complaints from users.

The latest update was on Nov 12, see also

What exactly are you waiting for?

Taifun

But Image Picker issue is still available. and Permission getting denied.

1 Like

a solution for the image picker has been provided here

Taifun

After sdk 33, pdf file not opening and give error like reading permission denied

Reading permission denied, this error come in android 13 or 13+

Unfortunately we do not know what you are doing, because you forgot to provide a screenshot of your relevant blocks

Taifun

Which permission is required for pdf file on android 13

This depends on where it is stored and who the owner is of that file, see also Some basics on Android storage system

And

Taifun

On Android 11+, storage permissions for non-media files are not required (requestable). Either the non-media file (PDF) is saved by the app itself in one of the Shared folders (or the ASD), for which no storage permissions are required, or if the file was created by another app then SAF must be used.

If you had read my link, your question would have already been answered.

The changes on Android 13+ regarding READ permissions only affect media files.

Thread: App Description - Piano App Recording Permission Issue

Hello everyone! :wave: I’m currently working on a piano app that allows users to record, play, share, and save their recordings directly on their mobile devices. I’ve encountered a challenge related to permissions, and I’m seeking your expertise to find a solid solution.

App Features:

  • Record, play, share, and save piano recordings on your mobile device.

Extensions Used:
Extensions_2
Extensions

Blocks Implemented:

blocks(2)

blocks(3)

My Device Information:

  • Android 11+

Issue Description:
Upon opening the app, I’m not getting the usual permission popup; instead, a notification (Notification 1) appears if the permission is denied. I’ve explored various threads in the community but haven’t found a clear solution, especially regarding the method to save recorded files. I need a foolproof method with blocks that ensures compatibility across various Android versions, as I don’t have a device with a version lower than Android 11 for testing.

Seeking Solution:
I would greatly appreciate it if you could provide the exact method with blocks to handle permissions and ensure smooth file saving, considering the nuances on all Android Versions. Your insights and expertise will be a tremendous help!

Thank You

These blocks are all you need (as long as the audio files are created by the app itself).

However, if other audio files are also to be accessed by the app, READ permissions must also be requested and granted for Android > 10. For Android 11 and 12 READ_EXTERNAL_STORAGE and for Android 13+ READ_MEDIA_AUDIO. (In this case my extension ReadMediaPermissions is needed.)

1 Like

Actually pdf file download from server and store in download folder but when pdf file open in my app then show error that reading permission denied and pdf file not opened. This error only come out in android 13.

1db9e1b331cac0db90a5f308e06f1c90ab685e71_2_690x326

In this image, you’ve disabled the “record audio” block. What does this mean? Should I use the audio permission or the RECORD_AUDIO permission?

I couldn’t find the ReadMediaPermission1.Sdk Version Block. Can you help me locate it?

Additionally, I display all the audio files recorded within the app. Could you please guide me on how to do that? I’m quite confused. Here are the blocks I’ve used, though I realize they may not be correct.

Your guidance would be greatly appreciated. This will also benefit all Kodular users who record and display audio files in their apps. Thank you @bodymindpower

Thats not working. I’ve tried.