-
Notifications
You must be signed in to change notification settings - Fork 83
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 react native web builds #341
Conversation
Is it fixed in any release? I've tried so many after this one. I've tried |
@elenitaex5 This should work in Could you provide a minimal reproducible example? |
Hi I'm facing same issue over here , I've tried using the specified versions still doesn't work |
This is my dependencies in package.json |
Hi @Timadigwe, Update to https://github.com/getsentry/sentry-react-native/releases/tag/5.16.0 or newer to get all the new features. Migration guides available: |
Checklist
Why
fixes: #340
How
The RN SDK version import was moved to sentry.ts so it's not imported for RN Web builds. At the moment importing
@sentry/react-native
in the RN Web build causes in to crash. This should be fixed in the native package, but for now this PR unblockssentry-expo
to work.Test Plan
I've tested this with my sample app https://github.com/krystofwoldrich/sentry-expo-sample-app