Sfoglia il codice sorgente

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

A.T 6 anni fa
parent
commit
93330715a4
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5
    0
      ios/RCCManagerModule.m

+ 5
- 0
ios/RCCManagerModule.m Vedi 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