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

Throwing RealmInExpoGoError only when native module fails to load #6868

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

kraenhansen
Copy link
Member

What, How & Why?

Debugging an app I found that it seems Expo / Metro is running the code in conditions that trigger the RealmInExpoGoError exception. I suggest moving the ExpoGo check from a top-level into the catch block when loading the native module actually fails.

@kraenhansen kraenhansen added T-Internal no-changelog no-jira-ticket Skip checking the PR title for Jira reference labels Aug 28, 2024
@kraenhansen kraenhansen self-assigned this Aug 28, 2024
@cla-bot cla-bot bot added the cla: yes label Aug 28, 2024
@kraenhansen kraenhansen merged commit 693c953 into main Aug 28, 2024
40 checks passed
@kraenhansen kraenhansen deleted the kh/expo-error-only-on-error branch August 28, 2024 11:21
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes no-changelog no-jira-ticket Skip checking the PR title for Jira reference T-Internal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant