-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
fix: downloadExpoGoAsync #22398
fix: downloadExpoGoAsync #22398
Conversation
Fix issue expo#21672
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.
update changelog please, otherwise lgtm
Thanks @EvanBacon . Changelog is added. |
I don't believe this fixes the issue. the You should only call a method on bar if bar exists so why in this PR do we not do that specifically? |
<!-- Please describe the motivation for this PR, and link to relevant GitHub issues, forums posts, or feature requests. --> Fix issue #21672. As mentioned, `bar!` in `downloadExpoGoAsync` causes error > TypeError: Cannot read properties of null (reading 'update') <!-- How did you build this feature or fix this bug and why? --> <!-- Please describe how you tested this change and how a reviewer could reproduce your test, especially if this PR does not include automated tests! If possible, please also provide terminal output and/or screenshots demonstrating your test/reproduction. --> <!-- Please check the appropriate items below if they apply to your diff. This is required for changes to Expo modules. --> - [ ] Documentation is up to date to reflect these changes (eg: https://docs.expo.dev and README.md). - [ ] Conforms with the [Documentation Writing Style Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md) - [ ] This diff will work correctly for `npx expo prebuild` & EAS Build (eg: updated a module plugin). --------- Co-authored-by: MJ☔ <zhamujun@amazon.com>
It actually fixed the issue. |
Why
Fix issue #21672.
As mentioned,
bar!
indownloadExpoGoAsync
causes errorHow
Test Plan
Checklist
npx expo prebuild
& EAS Build (eg: updated a module plugin).