Skip to content

Commit

Permalink
fix(ios): add requiresMainQueueSetup (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
huextrat authored Sep 26, 2024
1 parent 1111c3c commit 286c573
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ios/ScreenshotAware.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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<facebook::react::TurboModule>)getTurboModule:
Expand Down

0 comments on commit 286c573

Please sign in to comment.