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
{{ message }}
This repository was archived by the owner on Mar 16, 2019. It is now read-only.
It's unclear from the docs whether or not this library can be used to upload images from an iOS user's camera roll. The React Native camera roll API returns file URIs like, assets-library://asset/asset.JPG?id=1234-5678-ABCDE-3210&ext=JPG. Should I be able to use RNFetchBlob.wrap() on such a URI, like:
RNFetchBlob.fetch('POST','http://www.example.com/upload-form',{Authorization : "Bearer access-token",'Content-Type' : 'multipart/form-data',},[// append field data from file path{name : 'avatar',filename : 'avatar.png',data: RNFetchBlob.wrap("assets-library://asset/asset.JPG?id=1234-5678-ABCDE-3210&ext=JPG")}...
The text was updated successfully, but these errors were encountered:
@smartt , thank you for giving suggestion and use case. I'm already working on accessing assets, but there's quite a difference between Android and iOS. I will add this requirement to our 0.7.0 milestone.
It's unclear from the docs whether or not this library can be used to upload images from an iOS user's camera roll. The React Native camera roll API returns file URIs like,
assets-library://asset/asset.JPG?id=1234-5678-ABCDE-3210&ext=JPG
. Should I be able to useRNFetchBlob.wrap()
on such a URI, like:The text was updated successfully, but these errors were encountered: