forked from joltup/rn-fetch-blob
-
Notifications
You must be signed in to change notification settings - Fork 132
Utils API
Ron Radtke edited this page Feb 5, 2022
·
3 revisions
Simply prepend RNFetchBlob-file://
to a path, this make the file path becomes recognizable to native fetch
method.
Session API helps managing cached files, the following function call, will try to return an existing session object with the given name
, if it does not exist, create one.
RNFetchBlob.session('mysession')
see Sessions API for more usages.
0.4.2
A helper class simply uses base-64@mathiasbynens for decode and encode BASE64 data.
RNFetchBlob.base64.encode(data)
RNFetchBlob.base64.decode(data)