Browse Source

Fix RN 0.48+ warning about requiresMainQueueSetup

Joel Arvidsson 7 years ago
parent
commit
5b57d52f7d
No account linked to committer's email address
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      ReactNativePermissions.m

+ 5
- 0
ReactNativePermissions.m View 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