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.

No SplashScreen Implemented and getting error: "Native splash screen is already hidden. Call this method before rendering any view."

See original GitHub issue

🐛 Bug Report

Summary of Issue

I have no reference of the expo splash screen in any part of my app. On every load of the app the yellow error message is displayed:

[Unhandled promise rejection: Error: Native splash screen is already hidden. Call this method before rendering any view.]

I have reviewed the other threads and it seems like there was a fix for this issue a month back but it is still persisting for me and I am not sure why as I am not using the expo-splash-screen at anypoint.

I am on "expo-splash-screen" "^0.6.1"

Environment - output of expo diagnostics & the platform(s) you’re targeting

Expo CLI 3.28.2 environment info: System: OS: macOS 10.15.4 Shell: 3.2.57 - /bin/bash Binaries: Node: 15.0.1 - /usr/local/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 7.0.3 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.1, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0 IDEs: Xcode: 11.1/11A1027 - /usr/bin/xcodebuild npmPackages: expo: ^39.0.3 => 39.0.3 react: 16.13.1 => 16.13.1 react-dom: 16.13.1 => 16.13.1 react-native: https://github.com/expo/react-native/archive/sdk-39.0.3.tar.gz => 0.63.2 react-native-web: ~0.13.7 => 0.13.18 react-navigation: ^3.13.0 => 3.13.0 npmGlobalPackages: expo-cli: 3.28.2 Expo Workflow: managed

Reproducible Demo

I am not sure how to display the code as there is no code that references the expo-spalsh-screen other then the package-lock.json or yarn.lock file

"expo-splash-screen@*", "expo-splash-screen@^0.6.1": "version" "0.6.2" dependencies: "@expo/configure-splash-screen" "0.2.0"

Steps to Reproduce

Run app off of expo metro bundler On load of the app, yellow error message is displayed

Expected Behavior vs Actual Behavior

Expected no yellow error message to appear on load of app Actual behavior: yellow error message appears

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

13reactions
summerkiflaincommented, Nov 10, 2020

@brentvatne this is still an issue, I am also getting this warning constantly when using iOS simulator and using Fast Refresh, every time app fast refreshes it spits out this warning on console log, which is very troubling when debugging stuff. Expo Client 2.17.4.101 Expo SDK 39.0.4 Expo CLI 3.28.5 Expo SDK 38 was not logging this warning. I am using AppLoading Component.

2reactions
truongtv22commented, Oct 29, 2020

Let me know when this error is fixed

Read more comments on GitHub >

github_iconTop Results From Across the Web

What does SplashScreen is hidden mean? - Stack Overflow
I have come across this error [Unhandled promise rejection: Error: Native splash screen is already hidden. Call this method before rendering ...
Read more >
SplashScreen - Expo Documentation
The SplashScreen module from the expo-splash-screen library is used to tell the splash screen to remain visible until it has been explicitly told...
Read more >
Migrate your existing splash screen implementation to Android ...
If you have previously implemented a custom splash screen in Android 11 or lower, you'll need to migrate your app to the SplashScreen...
Read more >
Authentication flows - React Navigation
Authentication flows · The user opens the app. · SplashScreen - This will show a splash or loading screen when we're restoring the...
Read more >
cordova-plugin-splashscreen
Using its methods you can also show and hide the splash screen manually. cordova-plugin-splashscreen. Installation; Supported Platforms; Platform 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