File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Native filesystem access for react-native
77- React-Native 0.40 is minimum required for compiling on iOS (otherwise install an older release, see below)
88- Access to iOS-based "assets-library" is now supported with ` copyAssetsFileIOS `
99- ` readDir ` will return now creation- and modification-time of files as with ` stat() ` (thanks @Ignigena )
10+ - optional connectionTimeout and readTimeout-Settings on ` downloadFile ` for Android (thanks @drunksaint )
1011
1112## Breaking change in v2.0
1213
@@ -449,6 +450,8 @@ type DownloadFileOptions = {
449450 progressDivider?: number;
450451 begin?: (res: DownloadBeginCallbackResult ) = > void ;
451452 progress?: (res: DownloadProgressCallbackResult ) = > void ;
453+ connectionTimeout?: number // only supported on Android yet
454+ readTimeout?: number // only supported on Android yet
452455};
453456```
454457```
You can’t perform that action at this time.
0 commit comments