mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
RNTester: Fixes crash when app back to background (#48385)
Summary: https://github.com/facebook/react-native/issues/48376 removed `applicationDidEnterBackground` from `RCTAppDelegate` but RNTester called it, leads to crash. cc cipolleschi can you please help to review? ## Changelog: [INTERNAL] [FIXED] - RNTester: Fixes crash when app back to background Pull Request resolved: https://github.com/facebook/react-native/pull/48385 Test Plan: RNTester iOS back to background not crash. Reviewed By: cipolleschi Differential Revision: D67657449 Pulled By: philIip fbshipit-source-id: e6d806b2677050fa2faa273a7468055d9d21c2a3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
fcf3c8cab7
commit
8dfed7df4b
@@ -53,11 +53,6 @@ static NSString *kBundlePath = @"js/RNTesterApp.ios";
|
||||
return [super application:application didFinishLaunchingWithOptions:launchOptions];
|
||||
}
|
||||
|
||||
- (void)applicationDidEnterBackground:(UIApplication *)application
|
||||
{
|
||||
[super applicationDidEnterBackground:application];
|
||||
}
|
||||
|
||||
- (NSDictionary *)prepareInitialProps
|
||||
{
|
||||
NSMutableDictionary *initProps = [NSMutableDictionary new];
|
||||
|
||||
Reference in New Issue
Block a user