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:
- Created 3 years ago
- Comments:14 (5 by maintainers)
@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.
Let me know when this error is fixed