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
Copy file name to clipboardExpand all lines: README.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ We use [`react-native-fetch-blob`](https://github.com/wkh237/react-native-fetch-
17
17
_You should only have to do this once._
18
18
19
19
react-native link react-native-fetch-blob
20
-
20
+
21
21
Or, if you want to add Android permissions to AndroidManifest.xml automatically, use this one:
22
22
23
23
RNFB_ANDROID_PERMISSIONS=true react-native link react-native-fetch-blob
@@ -50,6 +50,8 @@ When providing `source={{uri: 'https://example.com/path/to/remote/image.jpg'}}`
50
50
*`useQueryParamsInCacheKey` - _array|bool_ an array of keys to use from the `source.uri` query string or a bool value stating whether to use the entire query string or not. **(default: false)**
51
51
*`defaultSource` - prop to display a background image while the source image is downloaded. This will work even in android, but will not display background image if there you set borderRadius on this component style prop
52
52
*`resolveHeaders` - _function_ when provided, the returned object will be used as the headers object when sending the request to download the image. **(default: () => Promise.resolve({}))**
53
+
*`loadingIndicator` - _component_ prop to set custom `ActivityIndicator`.
54
+
*`fallbackSource` - prop to set placeholder image. when `source.uri` is null or cached failed, the `fallbackSource` will be display.
53
55
54
56
### ImageCacheProvider
55
57
`ImageCacheProvider` exposes interaction with the cache layer that is used by `CachedImage` so you can use it to prefetch some urls in the background while you app is starting,
0 commit comments