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 has been archived by the owner on Mar 16, 2019. It is now read-only.
Thanks all for the amazing work on this lib. I had a question, I was doing an upload on Android, and was passing the uri (not path, its not available to me) direclty to RNFetchBlob.wrap and it was working. IE:
const res = await RNFetchBlob.fetch(
'POST',
`......`,
{
Accept: 'application/vnd.api+json;VARIANT=ios',
}, [{
name: 'file',
filename: 'dummy',
type: mimeType,
data: RNFetchBlob.wrap(uri), // uri is "content://com.android.providers.media.documents/document/image%3A89"
}]
)
This is working but I was hoping to get the actual "file name with extension". Is it posible to convert this URI to path?
Also is it expectd that RNFetchBlob.wrap should work with uri's?
The text was updated successfully, but these errors were encountered:
Hi there,
Thanks all for the amazing work on this lib. I had a question, I was doing an upload on Android, and was passing the
uri
(notpath
, its not available to me) direclty toRNFetchBlob.wrap
and it was working. IE:This is working but I was hoping to get the actual "file name with extension". Is it posible to convert this URI to path?
Also is it expectd that
RNFetchBlob.wrap
should work with uri's?The text was updated successfully, but these errors were encountered: