ivehement / saf

Flutter plugin that leverages Storage Access Framework (SAF) API to get access and perform the operations on files and folders.
https://pub.dev/packages/saf
MIT License
17 stars 19 forks source link

Can't use this folder to protect your privacy choose another folder ....!!! #21

Closed HussnulMaab192 closed 1 year ago

HussnulMaab192 commented 1 year ago

I am unable to access .statuses folder directly. When I click on the "grant button" it does not directly open the ,statuses folder and open the root directory and the "use this folder" button is unclickable. User have to open manually this folder to get access.

here is the directory which I want to access: saf = Saf( '/storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Media/.Statuses'); WhatsApp Image 2022-11-16 at 7 56 33 PM

HussnulMaab192 commented 1 year ago

I just recognized that if we initialize path "Android/media/com.whatsapp/WhatsApp/Media/.Statuses" then it allows us to access directly this directory! but not able to get this permission less then android 11.

Rambhaiahir commented 9 months ago

how to initialize same problem im facing how to solve ?

jvoltci commented 9 months ago

Android less than 11 don't need permission to access. Above Android 11, access can be given the same way.