How do I request external storage permission for Android 13?

2.1k Views Asked by At

We have a game that we developed on Unity. We need storage permission to install and play the OBB file. We don't need any other permissions other than this. Which permission should we use and how? As of Android 13, our application remains on a black screen on devices with Android 13 because the permission window does not appear.

We have come this far without any problems by using read and write external storage permissions. However, as of Android 13, this has changed.

Frankly, I don't know if we need these permissions just to install our obb file on the device and enable the game to open. Which permission is more suitable for us? Our game remains on a black screen on devices with Android 13.

2

There are 2 best solutions below

0
Yaroslav Mytkalyk On BEST ANSWER

You don't need external storage permission for your own files if you store them in the right place.

Place them in

3
blackapps On

How do I request external storage permission for Android 13?

Unclear which you have in mind. A READ or WRITE permission.

They do not exist for Android 13+ devices anymore.

You have WRITE permission by default in all public directories on external storage.

Once you created/wrote a file you are allowed to read it too.

You are not allowed to read other apps files unless you go for MANAGE_EXTERNAL_STORAGE or use SAF.