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