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

fix: opening updates in expo go in android #722

Merged
merged 7 commits into from
Sep 26, 2022
Merged

Conversation

confraria
Copy link
Contributor

fixes #719

Copy link
Member

@simoneb simoneb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's open an issue to undo this patching linking to the original issue, so we can monitor it

@confraria
Copy link
Contributor Author

solved the previous error, but we get a new one.
Screenshot_20220922-170045
Screenshot_20220922-170057

@confraria
Copy link
Contributor Author

@simoneb could you try the pr-722 update int he expo go app? 🙆‍♂️

function isExpoHosted() {
const hostUri = getHostUri();
return !!(hostUri &&
(/^(.*\.)?(expo\.io|exp\.host|exp\.direct|expo\.test|expo\.dev)(:.*)?(\/.*)?$/.test(hostUri) ||
Copy link
Contributor Author

@confraria confraria Sep 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

|expo\.dev was missing from this regex
🙃 @keith-kurak gave me the tip!

@simoneb
Copy link
Member

simoneb commented Sep 26, 2022

does expo have an open issue about this? can we contribute this back to them perhaps? in any case, let's track an issue in this repo to remind ourselves to undo this workaround

@confraria
Copy link
Contributor Author

  • tested this with both native apps running on ios and android ✅ and no regresssion occured
  • Draft PR opened in expo repo and issue added here to remove the patch ✅

@confraria confraria merged commit ad35ac6 into master Sep 26, 2022
@confraria confraria deleted the fix-expo-go-updates branch September 26, 2022 18:13
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.

Authentication throws an error with expo go updates in android
2 participants