diff --git a/packages/rn-tester/RNTester/AppDelegate.mm b/packages/rn-tester/RNTester/AppDelegate.mm index 533a91d6e21..bb72dbd41dd 100644 --- a/packages/rn-tester/RNTester/AppDelegate.mm +++ b/packages/rn-tester/RNTester/AppDelegate.mm @@ -49,6 +49,14 @@ NSString *kBundlePath = @"js/RNTesterApp.ios"; return [super application:application didFinishLaunchingWithOptions:launchOptions]; } +- (void)applicationDidEnterBackground:(UIApplication *)application +{ +#ifdef RN_DISABLE_OSS_PLUGIN_HEADER + // FB-internal app backgrounding setup. + RCTFBAppInitApplicationDidEnterBackground(application); +#endif +} + - (NSDictionary *)prepareInitialProps { NSMutableDictionary *initProps = [NSMutableDictionary new];