0

I thought that each app can always freely manage its directory in /Android folder. AFAIK code is in app/ and data in obb/ folders.

But many apps (e.g. games) display a message about needing local storage permission to download additional data.

Why do many apps need to ask for the generic storage permission - the one that says Files, folders, photo, video?

Are there some restrictions on the data an app can use without asking permission?

Just to clarify: I am NOT asking about file/photo manager apps, for them it is understandable that they need to see the whole filesystem.

Btw i found 2 possible duplicates, but their answers seem to contradict each other: 1 2 Does the storage permission allow reading the whole Internal storage? Or only the FAT-formatted external SD card?

2
  • What for an app needs storage permission depends on the Android version on-device (and the one targeted by the app). READ_EXTERNAL_STORAGE gives access to all data on your external and internal SD cards, but not to device storage, on "lower versions". Things look a bit different with the Storage Access Framework added in 5.1, and will change again with "scoped storage" on Android 11+… – Izzy Sep 1 '20 at 19:54
  • As Izzy said, it's version dependent. See this//@Izzy, I think you made a typo, in 11,it's package visibility – beeshyams Sep 1 '20 at 20:05
0

Storage permission is needed by apps that will read/write files onto the storage especially files accessible by the user.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.