RNTester iOS: internal profiling test setup (#42071)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/42071

Proxying background handling to set up Meta internal test infra.

Changelog: [Internal]

Reviewed By: RSNara

Differential Revision: D52420805

fbshipit-source-id: a68645b7b630f976dfd9e863b0c985c738c658ec
This commit is contained in:
Kevin Gozali
2023-12-26 15:26:57 -08:00
committed by Facebook GitHub Bot
parent 55e4543eea
commit 5d520abd4c
@@ -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];