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.

Blank screen display when the app crash (fatal JS) instead of splash screen

See original GitHub issue

🐛 Bug Report

Summary of Issue

Previous behavior when config “checkAutomatically”: “ON_ERROR_RECOVERY”, if the fatal JS error happened, the app will be restart and try to load the newest OTA update. The splash screen will appear during the process as usual. In SDK 39, if the fatal JS error happened, the app still reset and load new OTA but the splash screen no longer appear.

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

Expo CLI 3.27.10 environment info: System: OS: macOS 10.15.7 Shell: 3.2.57 - /bin/bash Binaries: Node: 12.18.0 - /usr/local/opt/node@12/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.4 - /usr/local/opt/node@12/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.9.1 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2 IDEs: Android Studio: 3.6 AI-192.7142.36.36.6200805 Xcode: 11.6/11E708 - /usr/bin/xcodebuild npmPackages: expo: ^39.0.0 => 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-navigation: ^4.4.0 => 4.4.0 npmGlobalPackages: expo-cli: 3.27.10 Expo Workflow: managed

Steps to Reproduce

Load the standalone app, call SplashScreen.hideAsync(), trigger fatal JS error => the app will be reset but splash screen isn’t re-appear.

Expected Behavior vs Actual Behavior

Expected Behavior: Splash screen appears so user knows the app are resetting. Actual Behavior: Splash screen doesn’t appear.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
hunterbmtcommented, Nov 30, 2020

It seem like Updates.reloadAsync() wouldn’t init SplashScreen again, that why the app will display blank scene instead of SplashScreen. @AdamJNavarro , any chance you know a workaround for this ?

Regards,

0reactions
github-actions[bot]commented, Feb 10, 2022

This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cordova - Worklight App Splash Screen on Android - Stack Overflow
I see the splash screen, but then, I have a black screen and the app crashes to be accurate, it shows a black...
Read more >
Fatal Error after Splash Screen : r/blackopscoldwar - Reddit
I've attempted scan and repair multiple times, updated GPU drivers, messed around in the registry editor a bit, deleted BattleNet cache, ...
Read more >
Why is there a black screen of death with Windows 10? - Quora
To put it simply, your computer shows blue screen of death because the whole Windows 10 system has crashed. The system crash is...
Read more >
Pyqt4 Application Crashing After Adding Splash Screen
If I am right musescore will crash again with one of score. After start-up I see the Start center for about 3 seconds...
Read more >
[Solved]-Takes time to resume application from background, shows ...
Since you are doing heavy computing on the main thread during launch, you are being shown the splash screen. you should take care...
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