Page 1 of 1

FDM for Android need a permission that to manage external storage

Posted: Sat Sep 03, 2022 12:42 pm
by KrasnayaPloshchad
While I attempt download a file into a specified folder, if this folder is already have the file with the same name but I want to replace it anyway, it would be fail to download, and the download task show the alarm with the red word File Error.

On Android 11 Google provided the Manage_External_STORAGE permission to allow an app to edit file(s) in most of the storage. The system setting also have the interface to do that.

Image
The system setting for Manage_External_STORAGE permission, nominatly Access All Files (所有文件访问) on my Samsung device.

With this permission it’s possible to replace a file if you just want to update that. So I suggest to adopt this permission.

Re: FDM for Android need a permission that to manage external storage

Posted: Sun Sep 04, 2022 9:36 am
by Alex
Hello,
This would require us to use SAF, which is a lot of work, and also an ugly solution (my opinion) for a native (non java/kotlin) app. For now, we try to avoid it as long as we can.