-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Does not work with Expo 52: Uncaught Error "undefined is not a function" #4341
Comments
Hi @ian, have Sentry RN package work for you with the previous Expo version? |
Yes, was working in expo 51. I’m working on getting a minimum repro pushed, standby.
|
@krystofwoldrich here's a minimum reproducible example: https://github.com/ian/sentry-repro Used https://docs.expo.dev/guides/using-sentry/ as an installation guide, and getting same issue. Let me know if you need more info. |
Thank you. |
Additional context, this does not happen in 6.1.0, but does in 6.3.0. |
Confirmed what @gunnartorfis suggested, downgrading to 6.1.0 fixes it. |
thanks for confirming 👍 this should help narrow the problem down |
What React Native libraries do you use?
Expo Router, Expo (mobile only)
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
6.3.0
How does your development environment look like?
(NOBRIDGE) ERROR TypeError: undefined is not a function [Component Stack]
Sentry.init()
Sentry.init({
dsn: "...",
})
Steps to Reproduce
Use "expo": "52.0.14"
Then set your app/_layout.tsx like this:
And app/index.tsx
metro.config.js
Expected Result
No error, app loads
Actual Result
App crashes immediately.
The text was updated successfully, but these errors were encountered: