question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Splash screen not working on iOS13/RN 0.59.9

See original GitHub issue

React 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:open
  • Created 4 years ago
  • Reactions:5
  • Comments:8

github_iconTop GitHub Comments

7reactions
giacomocerquonecommented, Nov 13, 2019

@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

5reactions
rphlmrcommented, Nov 21, 2019

@giacomocerquone you saved my life ❤️

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS 9 Splash screen is black - xcode - Stack Overflow
I had the exact problem and had a black launch screen after using Xcode 7, and at first re-adding the images in Launch-Screen.xib...
Read more >
Splash Screen not working - WordPress.org
Hi, The splash screen is not working on both android and iPhone. Please help. Thanks!
Read more >
My App Store splash screen shows no text. - Apple Community
My App Store splash screen shows no text. What would cause (and how do I fix) the failure of my App Store splash...
Read more >
Building a splash screen in React Native - LogRocket Blog
Creating a splash screen for a mobile application is a bit tricky and you don't want to risk having display issues on some...
Read more >
Splashscreen just shows black
Explore product details, discuss issues, find the latest news, ... For V8.4 FP 91 and above supports drag and drop UI for splash...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found