Browse Source

Added requiresMainQueueSetup to prevent warning and future side-effects on RCCManagerModule (#1983)

A.T 6 years ago
parent
commit
93330715a4
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      ios/RCCManagerModule.m

+ 5
- 0
ios/RCCManagerModule.m View File

@@ -74,6 +74,11 @@ RCT_EXPORT_MODULE(RCCManager);
74 74
     return dispatch_get_main_queue();
75 75
 }
76 76
 
77
++ (BOOL)requiresMainQueueSetup
78
+{
79
+    return YES;
80
+}
81
+
77 82
 #pragma mark - helper methods
78 83
 
79 84
 +(UIViewController*)modalPresenterViewControllers:(NSMutableArray*)returnAllPresenters