Sfoglia il codice sorgente

Fix RN 0.48+ warning about requiresMainQueueSetup

Joel Arvidsson 7 anni fa
parent
commit
5b57d52f7d
No account linked to committer's email address
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5
    0
      ReactNativePermissions.m

+ 5
- 0
ReactNativePermissions.m Vedi File

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