From 286c5737c8b6aef3501252773797e247f4662a4b Mon Sep 17 00:00:00 2001 From: Hugo EXTRAT Date: Thu, 26 Sep 2024 14:15:59 +0200 Subject: [PATCH] fix(ios): add requiresMainQueueSetup (#12) --- ios/ScreenshotAware.mm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ios/ScreenshotAware.mm b/ios/ScreenshotAware.mm index c71093a..b9eb8bc 100644 --- a/ios/ScreenshotAware.mm +++ b/ios/ScreenshotAware.mm @@ -40,6 +40,11 @@ -(void)stopObserving hasListeners = NO; } ++ (BOOL)requiresMainQueueSetup +{ + return NO; +} + // Don't compile this code when we build for the old architecture. #ifdef RCT_NEW_ARCH_ENABLED - (std::shared_ptr)getTurboModule: