-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[expo-updates][7/n] Remove classic updates #26080
Conversation
b89d1f0
to
079b240
Compare
4e90546
to
d2885e2
Compare
079b240
to
3cbc661
Compare
d2885e2
to
e937db4
Compare
3cbc661
to
fc1d830
Compare
e937db4
to
9e824cd
Compare
fc1d830
to
ca87ada
Compare
9e824cd
to
158f617
Compare
ca87ada
to
01c41fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Looks like a "green flag" to remove a dependency between Expo.fx.ts and expo-updates.
For the changelog, I might suggest phrasing this as the expo package no longer does verification at run time that a runtime version is set in apps that use expo-updates, because expo-updates will disable itself when a runtime version is not defined or if the updates configuration is invalid for any other reason.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but please make sure to fix failures on the CI 😉
158f617
to
68fb97f
Compare
9df6b9e
to
f475936
Compare
68fb97f
to
54c164b
Compare
f475936
to
15248c9
Compare
Why
This removes the
isMissingRuntimeVersion
constant from expo-updates. This constant no longer makes sense since disabled is an expected mode of this library, and a warning is shown in native logs.The code in
Expo.fx.tsx
would show a warning in dev, but in prod the top-level-thrown error actually wouldn't do anything except maybe prevent continued evaluation of the module code. The error wasn't shown anywhere as far as I can tell and the app still ran.This was originally added in #11367.
Closes ENG-10957.
How
Remove it.
Test Plan
Inspect.
Checklist
npx expo prebuild
& EAS Build (eg: updated a module plugin).