We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e150d0 commit a4ea737Copy full SHA for a4ea737
packages/react-native/React/CoreModules/RCTTiming.mm
@@ -128,6 +128,11 @@ - (void)setup
128
_paused = YES;
129
_timers = [NSMutableDictionary new];
130
_inBackground = NO;
131
+ RCTExecuteOnMainQueue(^{
132
+ if (!self->_inBackground && [RCTSharedApplication() applicationState] == UIApplicationStateBackground) {
133
+ [self appDidMoveToBackground];
134
+ }
135
+ });
136
137
for (NSString *name in @[
138
UIApplicationWillResignActiveNotification,
0 commit comments