This doesn’t make sense at the moment as long as the targetSdk = 30 update has not been released. The file system has been completely changed in AI2 after “Scoped Storage” is mandatory from Aug 2021. And there are still a number of (serious) problems and bugs with AI2 (and Niotron as well).
That might also be why Kodular is waiting for the MIT team’s bug fixes, before releasing the targetSdk=30 update. And that’s a good decision in my opinion. Otherwise the confusion and the number of error / bug reports would get out of hand.
Thanks a lot for this Guide image but I have some confusions.
This Guide is working for all Android versions ?
If I want to make non private external storage for ex.(storage/emulated/0/Myfolder) you write that it must be approved by Google what does it mean?
What does this directory called ?(Android/media/com.whatsapp) And can we make this type of directory also like whatsapp make (if yes than which permission we need)
Want more information about Non private external storage. @bodymindpower I want your help
@bodymindpower
I am using a image picker in my app that takes image from gallery and copy to ASD.
I am aware about SAF and its extension
Problem which i am facing is that i need to give separate tree access if i want to use image from DCIM and if i need from whatsApp folder.
As such in the extension i cannot give access to full storage in one access.
I have asked the question with extension developer, he told that i need to go ahead with multiple access
Is there any other way out for my problem?
the question remains, how Whatsapp is able to read and write in directory /Android/media as far as I know without requiring additional permission from the user (at least I do not remember to have given additional permission to Whatsapp)…
It is no problem to read from this path (folder) on any Android version.
But with targetSdkVersion = 30 it is no longer possible to write / save / copy to this folder on devices with Android > 10.
I have never used or installed WhatsApp and it will stay that way. So I can’t say anything about whether it will still save files to this folder on Android 11.
But MANAGE_EXTERNAL_STORAGE is not declared in the WhatsApp Manifest.