Open 1MinuteAunty opened 3 months ago
Hi, thank you for raising this issue! I’ve finally had the chance to work on it and have made the necessary changes to remove the MANAGE_EXTERNAL_STORAGE permission. I've now implemented the Storage Access Framework (SAF) for directory access.
The app successfully obtains directory permission through SAF, and I'm able to fetch media files. However, I’m encountering an issue when trying to display the media in the UI—it throws an error related to media reading permissions. Interestingly, if I manually grant the "manage all files" permission from the app settings, the media displays correctly, even though I am accessing the files through SAF.
Could you please take a look at the code and let me know what might be going wrong? Your insights would be really helpful!
Thanks in advance!
Hi, I have encountered a similar issue and managed to find a solution. In my project from statussaver, I addressed this by [using Storage Access Framework instead of MANAGE_EXTERNAL_STORAGE].
I hope this helps! @alihamza0173