Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 30016

Use rn-fetch-blob with android Storage Access Framework

$
0
0

I am using rn-fetch-blob to download photos and want them to be stored in external sd card. While I always get 'permission denied' even I have set android.permission.WRITE_EXTERNAL_STORAGE in AndroidManifest.xml and have ask permission request by PermissionsAndroid.request I still get the permission error.

After I searched on here and finally found the issue may be due to this answer. However I don't know how to combine the Storage Access Framework with rn-fetch-blob.

So I would like to download photos by using rn-fetch-blob and stored them to sd card (path will like /storage/6265-6530/DCIM/Camera/)

Anyone help? Thanks


Viewing all articles
Browse latest Browse all 30016

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>