Open voedev opened 1 month ago
Please see my reply in issue #9 here I have never used Murglar and since it's closed source, I cannot see how they handle permissions. I do, however, strongly suspect Murglar isn't build using flutter.
I don't see a reason to grant the app access to all files
The reason is that I want the user to have the option to download to whatever custom folder they like, both on internal and external storage, focused primarily on more resent android versions.
As I explained in the linked comment, I do not see any way of getting write access to an external SD Card on android 13 and above, without requesting full storage permissions.
If you know a way to do so for both older and resent android versions, without using MANAGE_EXTERNAL_STORAGE
, please provide me a link to an example and I will take a look at it.
🚀 Feature Request
Starting from Android version 10, support for Scoped Storage (or Storage Access Framework (SAF)) was introduced. The current file upload method is not secure, and I don't see a reason to grant the app access to all files.
I suggest using two options: SAF or and FileIO (or base File API). FileIO can be for users who encounter difficulties uploading media to the SD card. Murglar 2 uses exactly these two implementation options. SAF option is selected by default