瀏覽代碼

Implement `requiresMainQueueSetup`, fixes #553

Klaas Landsman 6 年之前
父節點
當前提交
62f12a128f
No account linked to committer's email address
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. 5
    0
      ios/RNFetchBlob/RNFetchBlob.m

+ 5
- 0
ios/RNFetchBlob/RNFetchBlob.m 查看文件

@@ -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