facebook / react-native-website

The React Native website and docs
https://reactnative.dev
MIT License
1.94k stars 4.35k forks source link

Outdated splash screen instructions for iOS #3768

Closed paulschreiber closed 12 months ago

paulschreiber commented 1 year ago

Description

On the Publishing to Apple App Store page under Configure release scheme > Pro Tips, the docs show:

If this is the case, you can add the following code to AppDelegate.m in order to keep your splash screen displayed during the transition.

// Place this code after "[self.window makeKeyAndVisible]" and before "return YES;"
UIStoryboard *sb = [UIStoryboard storyboardWithName:@"LaunchScreen" bundle:nil];
UIViewController *vc = [sb instantiateInitialViewController];
rootView.loadingView = vc.view;

However, there is no more AppDelegate.m.React Native uses AppDelegate.mm instead, and there is no [self.window makeKeyAndVisible] in the new file.

professorkolik commented 1 year ago

For some people this would be helpful => https://github.com/facebook/react-native/issues/35937 Unfortunately doesn't work for us same way as before

github-actions[bot] commented 1 year ago

👋 Hey there, it looks like there has been no activity on this issue in the last 90 days. Has the issue been fixed, or does it still require the community attention? This issue will be closed in the next 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 12 months ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

paulschreiber commented 11 months ago

Bad bot. No cookie.