-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
iOS - Events are not recorded #4432
Comments
Hi @uypao, The application should not crash after calling To debug this further could you share with us logs from the crash? Or minimal reproducible example? Does a React Native Red Box appears before the crash? Or if you are using Xcode, could you share with us stack trace of the crash? |
@krystofwoldrich Sorry I was using different types of error to log which would work. I was using Here are the logs:
|
The react native red box does not appear before the crash |
For For If no events are no being received check that you simulator/phone is able to access the DSN. You can for example try to open the DSN in your simulator's/phone's browser, the server should respond with 404. |
Thank you for confirmation, |
What React Native libraries do you use?
React Navigation
Are you using sentry.io or on-premise?
sentry.io (SaS)
@sentry/react-native SDK Version
6.5.0
How does your development environment look like?
Sentry.init()
Steps to Reproduce
Sentry.captureException(new Error('test error'))
Expected Result
Crash report is added in the dashboard
Actual Result
No crash recorded
Here is the logs when I invoke
Sentry.captureException(new Error('test error'))
The text was updated successfully, but these errors were encountered: