diff --git a/__tests__/__snapshots__/ios-objc.test.js.snap b/__tests__/__snapshots__/ios-objc.test.js.snap index de49404..b24a20b 100644 --- a/__tests__/__snapshots__/ios-objc.test.js.snap +++ b/__tests__/__snapshots__/ios-objc.test.js.snap @@ -289,6 +289,11 @@ RCT_EXPORT_VIEW_PROPERTY(exampleProp, NSString) }; } ++ (BOOL)requiresMainQueueSetup +{ + return YES; +} + @end " `; diff --git a/templates/ui-components/ios-objc/TemplateManager.m b/templates/ui-components/ios-objc/TemplateManager.m index beeb2dd..4d569a1 100644 --- a/templates/ui-components/ios-objc/TemplateManager.m +++ b/templates/ui-components/ios-objc/TemplateManager.m @@ -38,4 +38,9 @@ - (NSDictionary *)constantsToExport }; } ++ (BOOL)requiresMainQueueSetup +{ + return YES; +} + @end