Browse Source

Implement `requiresMainQueueSetup`, fixes #553

Klaas Landsman 6 years ago
parent
commit
62f12a128f
No account linked to committer's email address
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      ios/RNFetchBlob/RNFetchBlob.m

+ 5
- 0
ios/RNFetchBlob/RNFetchBlob.m View File

@@ -70,6 +70,11 @@ RCT_EXPORT_MODULE();
70 70
              };
71 71
 }
72 72
 
73
++ (BOOL)requiresMainQueueSetup
74
+{
75
+    return YES;
76
+}
77
+
73 78
 // Fetch blob data request
74 79
 RCT_EXPORT_METHOD(fetchBlobForm:(NSDictionary *)options
75 80
                   taskId:(NSString *)taskId