Issue
Hi I am working on a mobile application (react native 0.60.4
) where I am downloading file using rn-fetch-blob
to a custom path
storage/emulated/0/test
earlier it was working fine then I had to update the targetSDKVersion
to 29
and compileSDKVersion
to 29
after that it stopped working in android 10
Even after adding android:requestLegacyExternalStorage="true"
its not working..
can someone help me what could be the work around for this to work.
or any other library to use with DownloadManager
with notification
TIA
Solution
DownloadManager on an Android 10 device wil not download to the root of external storage or to your own directory on root of external storage.
You have to choose one of the public directories on external storage like Documents, Download, DCIM and so on.
For the DownloadManager you do not need to request legacy external storage.
Answered By - blackapps
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.