admin管理员组文章数量:1122832
Is there a way to let users select a folder using a file picker package in Flutter and provide the app with read and write access to that folder?
I previously used the 'Manage External Storage' permission as I couldn't find any other solution, but the Play Store imposes strict restrictions on this permission. I've come across the Storage Access Framework (SAF) and wonder if it could be a viable alternative. Can SAF or any other framework handle this requirement?
Your assistance would be greatly appreciated!
Is there a way to let users select a folder using a file picker package in Flutter and provide the app with read and write access to that folder?
I previously used the 'Manage External Storage' permission as I couldn't find any other solution, but the Play Store imposes strict restrictions on this permission. I've come across the Storage Access Framework (SAF) and wonder if it could be a viable alternative. Can SAF or any other framework handle this requirement?
Your assistance would be greatly appreciated!
Share Improve this question edited Nov 22, 2024 at 11:36 Adarsh Tiwari asked Nov 22, 2024 at 11:17 Adarsh TiwariAdarsh Tiwari 616 bronze badges 4 |1 Answer
Reset to default 0Is there a way to let users select a folder using a file picker package in Flutter and provide the app with read and write access to that folder?
No. User can select folder to get or write data from/to the folder but the app won't get read and write access. If user's required to select folder every time, you don't need any permission
If you need to read/write data from/to external storage without user action, you can use Scoped Storage but app's access will be limited to app specific external storage folder.
本文标签:
版权声明:本文标题:android - Read and write permissions inside any folder selected by the user in the phone's storage without the MANAGE_EX 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736304118a1932123.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
ACTION_OPEN_DOCUMENT_TREE
to let users select specific folder and then get the URI of that folder, then you can read and write to files in that particular folder. – Vansh Patel Commented Nov 22, 2024 at 11:26