'SplashScreen.show' has already been called for given view controller. && Error: No native splash screen registered for given view controller. Call 'SplashScreen.show' for given view controller first.

See original GitHub issue

Summary

As you can tell from the code I am following the font loading guide provided from Expo and not calling

            await SplashScreen.hideAsync()

twice.

I have provided a repo that reproduces this issue.

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

managed

What platform(s) does this occur on?

iOS

SDK Version (managed workflow only)

45

Environment

expo-env-info 1.0.3 environment info: System: OS: macOS 12.2.1 Shell: 5.8 - /bin/zsh Binaries: Node: 16.13.0 - /usr/local/bin/node Yarn: 1.22.18 - /usr/local/bin/yarn npm: 8.1.0 - /usr/local/bin/npm Watchman: 2022.02.21.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.1 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5 IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7784292 Xcode: 13.4/13F17a - /usr/bin/xcodebuild npmPackages: expo: ~45.0.0 => 45.0.3 react: 17.0.2 => 17.0.2 react-dom: 17.0.2 => 17.0.2 react-native: 0.68.2 => 0.68.2 react-native-web: 0.17.7 => 0.17.7 npmGlobalPackages: eas-cli: 0.52.0 expo-cli: 5.4.3 Expo Workflow: managed

Reproducible demo

https://github.com/haibert/SplashScreenIssueRepo

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
haibertcommented, Jun 11, 2022

@apedroferreira I forgot I had opened an issue about this already, follow this one it’s where the discussions are happening https://github.com/expo/expo/issues/14824

0reactions
brentvatnecommented, Jun 28, 2022

closed because duplicate of #14824

Read more comments on GitHub >

github_iconTop Results From Across the Web

'SplashScreen.show' has already been called for given view ...
This warning comes up on initial launch. Also I somtimes still get the ' No native splash screen registered for given view controller....
Read more >
No native splash screen registered for given view controller ...
Call 'SplashScreen.show' for given view controller first. I get the following warning only on my ios emulator when I first launch the app....
Read more >
Are any EXPO SDK 41 users still getting this bug/error? - Reddit
[Unhandled promise rejection: Error: No native splash screen registered for given view controller. Call 'SplashScreen.show' for given view ...
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 >
No Native Splash screen registered for given ... - Stack Overflow
I have tried using react-native-splash-screen , I have tried renaming LaunchScreen.storyboard, I have tried adding a new one to my images.xcassets folder.
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