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.60

See original GitHub issue

Run react-native info in your project and share the content.

⋊> ~/c/w/mobile on feature/addFriendIntegration ⨯ react-native info 10:21:05 info React Native Environment Info: System: OS: macOS 10.14.5 CPU: (4) x64 Intel® Core™ i5-5350U CPU @ 1.80GHz Memory: 233.89 MB / 8.00 GB Shell: 3.0.2 - /usr/local/bin/fish Binaries: Node: 8.11.3 - /usr/local/bin/node Yarn: 1.15.2 - /usr/local/bin/yarn npm: 6.9.0 - /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 Android SDK: API Levels: 25, 26, 27, 28, 29 Build Tools: 28.0.3, 29.0.0 System Images: android-28 | Google Play Intel x86 Atom, android-Q | Google APIs Intel x86 Atom IDEs: Android Studio: 3.4 AI-183.6156.11.34.5522156 Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild npmPackages: react: 16.8.3 => 16.8.3 react-native: 0.59.3 => 0.59.3 npmGlobalPackages: react-native-asset: 1.1.3 react-native-cli: 2.0.1

What react-native-splash-screen version are you using?

"react-native-splash-screen": "^3.2.0",

What platform does your issue occur on? (Android/iOS/Both) iOS13

Describe your issue as precisely as possible :

  1. Steps to reproduce the issue or to explain in which case you get the issue I installed iOS 13 on my phone and the splash screen doesn’t stays until it is hidden by js code (blank screen flashing is back again)

  2. Interesting logs None

Join a screenshot or video of the problem on the simulator or device?

ezgif-4-77e7f9b65da9

Today I updated my iPhone7 to iOS 13 and the splash screen is no longer working on my app.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:9
  • Comments:26

github_iconTop GitHub Comments

25reactions
hezhiicommented, Oct 9, 2019

@mahomahoxd @simonwalker-celadin You can try to add this in ios/*.xcodeproj/project.pbxproj:

buildSettings = {
  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
}

it works for me, Reference to Xcode 10.

16reactions
pedpesscommented, Jun 10, 2020

For the ones still having issues, try this if your splash screen is giving you white or dark screen depending on your system color and not the actual custom splash screen:

  • Simulator -> Device -> Erase All Content and Settings
  • Go to XCode -> Preferences -> Locations -> Derived Data -> Delete everything inside this folder.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Splash Screen not working - WordPress.org
Hi, The splash screen is not working on both android and iPhone. Please help. Thanks!
Read more >
iPhone web splash screen not working - Stack Overflow
Make sure it is 320x460 pixels. You already said that, but that was the solution for me.
Read more >
Add a splash screen to a React Native app - Medium
First, open the project in Xcode. ... Note: Starting React Native 0.60, the iOS project uses cocoapods, so you have to open [project_name]....
Read more >
How to Add a Splash Screen to a React Native Application
If you are not familiar with Xcode, the Adding Splash Screen IOS section ... If you use React Native version 0.60 you don't...
Read more >
react-native-pure-splash-screen - npm
... which help you display a splash screen to avoid blank screen. Installation. npm i react-native-pure-splash-screen // link below 0.60 ...
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