Skip to content
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

Handle null Constants.expoConfig and Constants.expoGoConfig #145

Merged
merged 3 commits into from
Aug 3, 2023

Conversation

yousif-bugsnag
Copy link
Contributor

Goal

This PR builds on #143 which fixes a crash in configuration attempting to read a null Constants.expoGoConfig ( reported in #142)

The reported crash occurs because ExpoGoConfig is null in some circumstances, however the Expo docs state that both ExpoConfig and ExpoGoConfig could potentially be null, so this PR ensures guards are in place whenever either of those are accessed.

@gingerbenw
Copy link
Member

don't forget the changelog :D

@yousif-bugsnag yousif-bugsnag merged commit 2ac8411 into v49/next Aug 3, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants