Selaa lähdekoodia

Merge pull request #184 from oblador/patch-1

Fix RN 0.48+ warning about requiresMainQueueSetup
Mathieu Acthernoene 7 vuotta sitten
vanhempi
commit
abc27284e5
No account linked to committer's email address
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5
    0
      ReactNativePermissions.m

+ 5
- 0
ReactNativePermissions.m Näytä tiedosto

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