From 515573deb955aa2e2ce62ddf38c029c3f56516af Mon Sep 17 00:00:00 2001 From: RalfNieuwenhuizen Date: Mon, 2 Oct 2017 19:40:25 +0200 Subject: [PATCH] Update index.d.ts (#20025) Add IOSBackgroundTask to config options --- types/react-native-fetch-blob/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/react-native-fetch-blob/index.d.ts b/types/react-native-fetch-blob/index.d.ts index cda116ec0c..cb9af73ef8 100644 --- a/types/react-native-fetch-blob/index.d.ts +++ b/types/react-native-fetch-blob/index.d.ts @@ -568,6 +568,11 @@ export interface RNFetchBlobConfig { session?: string; addAndroidDownloads?: AddAndroidDownloads; + + /** + * Fix IOS request timeout issue #368 by change default request setting to defaultSessionConfiguration, and make backgroundSessionConfigurationWithIdentifier optional + */ + IOSBackgroundTask?: boolean; } export interface AddAndroidDownloads {