r/android_devs • u/[deleted] • 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?
1
u/raf0c Apr 26 '21
check your merged manifest for all the declared permissions, maybe there is a dependency with it.
1
7
u/__yaourt__ Apr 27 '21
See this: https://www.reddit.com/r/androiddev/comments/mwaqn1/scoped_storage_recap/
They're sending this warning to all developers with
requestLegacyExternalStoragebecause 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.