You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constres=awaitDocumentPicker.pick();constcontent=awaitfs.readFile(res[0].uri);// good
When I pick a directory, it does not work:
constres=awaitDocumentPicker.pickDirectory();constdirs=awaitfs.readDir(decodeURIComponent(res.uri));// decode the uri or it will throw a unsupported error// not worked, throw a error: Permission Denial...ACTION_OPEN_DOCUMENT...
I see the same problem in this PR, but I don't konw how to do.
constresult=awaitRNFS.stat(file);console.log(result);// Error: File does not existconstresult=awaitRNFS.stat(dir)console.log(result);// Error: Unsupported Uri content://com.android.externalstorage.documents/tree/primary%3A...
now I am wondering why readFile is work.
in another issue #756
When I pick a single file, it works fine:
When I pick a directory, it does not work:
I see the same problem in this PR, but I don't konw how to do.
Environments:
The text was updated successfully, but these errors were encountered: