diff --git a/React/CoreModules/RCTPlatform.mm b/React/CoreModules/RCTPlatform.mm index aa70b683fcc..69cae85879d 100644 --- a/React/CoreModules/RCTPlatform.mm +++ b/React/CoreModules/RCTPlatform.mm @@ -44,6 +44,11 @@ RCT_EXPORT_MODULE(PlatformConstants) return YES; } +- (dispatch_queue_t)methodQueue +{ + return dispatch_get_main_queue(); +} + // TODO: Use the generated struct return type. - (NSDictionary *)constantsToExport {