r/android_devs • • Apr 26 '21

Help Broad Storage Access Deadline 5th May and WRITE_EXTERNAL_STORAGE

Hi, we got warning on most of our apps about Broad Storage Access Deadline which ends on 5th May, our apps target api 10(29) and we don't have MANAGE_EXTERNAL_STORAGE permission declared in our manifest(s). So we are confused, will requestLegacyExternalStorage work or cause apps to crash? Will apps be removed if they have WRITE_EXTERNAL_STORAGE and are not targeting Android 11(30)?
The message we got from Google is a confusing, If we are not targeting api30 and dont have MANAGE_EXTERNAL_STORAGE, why did we even get the message?

10 Upvotes

4 comments sorted by

7

u/__yaourt__ Apr 27 '21

See this: https://www.reddit.com/r/androiddev/comments/mwaqn1/scoped_storage_recap/

This Google Play policy refers specifically to apps that target API level 30 and need the MANAGE_EXTERNAL_STORAGE permission (All Files Access). If you don’t use or plan to use this permission, this policy shouldn’t affect you.

They're sending this warning to all developers with requestLegacyExternalStorage because in order to have the same level of access when targeting API 30 you need the MANAGE_EXTERNAL_STORAGE permission. If you're not going to use this permission just ignore it.

2

u/[deleted] Apr 27 '21

I see, thank you. It was rather confusing message. Thanks for explaining.

1

u/raf0c Apr 26 '21

check your merged manifest for all the declared permissions, maybe there is a dependency with it.

1

u/[deleted] Apr 27 '21

I did check, checked exported APK version. Nothing out of order.