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 when using Updates.reloadAsync() in SDK 40

See original GitHub issue

Summary

I have upgraded expo SDK to version 40 and when I use OTA updates and Updates.reloadAsync(), I get a blank screen instead of the splash screen

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)

40

Environment

Expo CLI 4.3.2 environment info: System: OS: macOS 11.2.3 Shell: 5.8 - /bin/zsh Binaries: Node: 12.13.1 - /usr/local/bin/node Yarn: 1.22.5 - /usr/local/bin/yarn npm: 6.14.8 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.8.4 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4 IDEs: Android Studio: 4.0 AI-193.6911.18.40.6514223 Xcode: 12.5/12E262 - /usr/bin/xcodebuild npmPackages: expo: ^40.0.0 => 40.0.1 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-40.0.1.tar.gz => 0.63.2 react-native-web: ~0.13.12 => 0.13.18 npmGlobalPackages: expo-cli: 4.3.2 Expo Workflow: managed

Reproducible demo or steps to reproduce from a blank project

await Updates.reloadAsync()

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
m-deaconcommented, Jun 4, 2021

@byCedric it’s very difficult issue to provide a reproducible demo for this as the Updates module is an on device module. As far as I can tell it’s also happening in that snack - I don’t see a Splash after clicking update app… It’s happening on all our production apps and for a few people on these forums (I’m sure there’s more that just aren’t noticing it). I see there is another issue mentioning it here: https://github.com/expo/expo/issues/12000

Any suggestions on how to debug / provide a reproducible demo so you can look into it? Here’s a video showing the issue, that “Restart app” button triggers this directly onPress={() => Updates.reloadAsync()}, should I perhaps be doing it differently?

https://user-images.githubusercontent.com/35782774/120808942-dadaf800-c549-11eb-97f5-d10a6b1d4e65.MP4

0reactions
github-actions[bot]commented, Feb 3, 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

react native - expo-updates reloadAsync() causes blank screen
I have Expo ejected bare app and recently upgraded Expo SDK from 42 and 44. This mean React Native Unimodules is replaced by...
Read more >
Updates - Expo Documentation
Updates.reloadAsync() ... Instructs the app to reload using the most recently downloaded version. This is useful for triggering a newly downloaded update to ......
Read more >
React Native blank white screen issue (solved) - Coding is Love
I'm sharing the reason for blank screen and solution for it. Usually, we get a blank screen when the app is not connected...
Read more >
How to implement over the air updates with expo ... - Red Shift
My actual SDK version was 42.0.3, but expo-updates didn't seem to like ... reloadAsync() function to kick this off) or some other affordance ......
Read more >
Getting blank screen after Ejecting EXPO - CUBA.Platform
Hi… I ejected the expo using the following command expo eject and the Expo has been successfully ejected… found 14 vulnerabilities (13 low, ......
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