瀏覽代碼

Fix RN 0.48+ warning about requiresMainQueueSetup

Joel Arvidsson 7 年之前
父節點
當前提交
5b57d52f7d
No account linked to committer's email address
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. 5
    0
      ReactNativePermissions.m

+ 5
- 0
ReactNativePermissions.m 查看文件

@@ -57,6 +57,11 @@
57 57
 RCT_EXPORT_MODULE();
58 58
 @synthesize bridge = _bridge;
59 59
 
60
++ (BOOL)requiresMainQueueSetup
61
+{
62
+    return YES;
63
+}
64
+
60 65
 #pragma mark Initialization
61 66
 
62 67
 - (instancetype)init