I cannot access RNFS.DownloadDirectoryPath nor ask for permissions to do so
await RNFS.readDir(RNFS.DownloadDirectoryPath);
in android 8.1 i can access, copy, delete file from this directory
but in android 10, i get this error
Error: Attempt to get length of null array
temporary solution for android 10
<manifest ... >
<!-- This attribute is "false" by default on apps targeting Android Q. -->
<application android:requestLegacyExternalStorage="true" ... >
...
</application>
</manifest>
why close this. This is a workaround, not a solution to the main issue.
@Relax594 indeed, we really need to fix this issue
Most helpful comment
why close this. This is a workaround, not a solution to the main issue.