Unable to create directory using StorageAccessFramework.makeDirectoryAsync method.

Please provide the following:

  1. SDK Version: 41
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I have requested permission for ‘Android’ folder and inside it there is a folder called “obj”, since I have been granted permission for Android folder I can access all folders and files inside it, but when I am trying to read the content of folder “obj” which is inside “Android” folder, it is giving me an error that directory is not readable.
Can anyone please look into it as in Android 11 using SAF we can access content of Android folder.
Also I went through the source code of FileSystemModule and almost everything is implemented using DocumentFile whereas It is advisable to use ContentResolver and DocumentsContract.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.