Splash screen not working on iOS13/RN 0.59.9
See original GitHub issueReact Native Environment Info: System: OS: macOS 10.14.6 CPU: (12) x64 Intel® Core™ i7-8750H CPU @ 2.20GHz Memory: 1.23 GB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 12.9.1 - /usr/local/bin/node npm: 6.10.3 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2 IDEs: Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild npmPackages: react: 16.8.6 => 16.8.6 react-native: 0.59.10 => 0.59.9 npmGlobalPackages: react-native-cli: 2.0.1
react-native-splash-screen
version - 3.2.0
Platform does issue occur on - iOS
I was importing the library -
#import <RNSplashScreen.h> // here
and code inside the didFinishLaunchingWithOptions
[RNSplashScreen show]; // here
but splash screen crashed when i create the IPA and drop the IPA in the device using itunes. It is working fine for simulator also in debug mode. Issue exist for testFlight account.
If i put the below code
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation moduleName:@“MyApp” initialProperties:nil launchOptions:launchOptions];
[RNSplashScreen showSplash:@“LaunchScreen” inRootView:rootView];
then app do not crash on splash screen but it’s hang on splash screen.
Please provide me the solution for this i am struggling with this issue.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:8
Top GitHub Comments
@metinaltinbas responding directly to you as I did in the other issue since you asked.
Use this package, way better, I’d just like to increment its visibility (it’s not mine) because I believe that the good work, and the effort that it requires, must be paid off somehow 😃
https://github.com/zoontek/react-native-bootsplash
@giacomocerquone you saved my life ❤️