Ver Fonte

Merge pull request #184 from oblador/patch-1

Fix RN 0.48+ warning about requiresMainQueueSetup
Mathieu Acthernoene há 8 anos atrás
pai
commit
abc27284e5
1 ficheiros alterados com 5 adições e 0 exclusões
  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