Browse Source

Merge pull request #184 from oblador/patch-1

Fix RN 0.48+ warning about requiresMainQueueSetup
Mathieu Acthernoene 8 năm trước cách đây
mục cha
commit
abc27284e5
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      ReactNativePermissions.m

+ 5 - 0
ReactNativePermissions.m

@@ -57,6 +57,11 @@
 RCT_EXPORT_MODULE();
 @synthesize bridge = _bridge;
 
++ (BOOL)requiresMainQueueSetup
+{
+    return YES;
+}
+
 #pragma mark Initialization
 
 - (instancetype)init