Skip to content

Commit af1ad2f

Browse files
author
Wonday
committed
modify readme
1 parent bf9ec47 commit af1ad2f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,16 @@ or use yarn
2828
yarn add react-native-image-cache-wrapper
2929
yarn add rn-fetch-blob
3030
```
31-
*Notice: if you use RN 0.60+, please use v0.10.16*
31+
*Notice: if you use RN 0.60+, please use rn-fetch-blob v0.10.16*
3232

3333

3434
### ChangeLog
3535

3636
v1.0.6
3737

38-
1. add static method ```CachedImage.isUrlCached(url)```
39-
2. add static property ```CachedImage.cacheDir```, user can use to set customized cacheDir
38+
1. add static method ```CachedImage.isUrlCached(url,success=(cachFile)=>void,fail=(error)=>void))```
39+
2. add static method ```CachedImage.getCacheFilename(url)```
40+
3. add static property ```CachedImage.cacheDir```, user can use to set customized cacheDir
4041

4142
v1.0.5
4243

0 commit comments

Comments
 (0)