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
Native Crashes are not reported #3734
Comments
Hi @ejjraifihamza, Note the crashes are sent on the next application start and only work when the application crashes, which means when the React Native Red Box doesn't prevent the crash. |
hi @krystofwoldrich, |
Hi @ejjraifihamza, |
Hi @krystofwoldrich, my native logs from the IOS simulator with debug: true, LOG Sentry Logger [log]: Integration installed: ReactNativeErrorHandlers |
@ejjraifihamza This looks like a JS logs from the application start, is there nothing more? I was referring to logs from here: If you can run the application from Xcode? |
hi @krystofwoldrich, i got a lot of logs (delete some that contain sensitive data) and i don't know which one do you need exact, if you need specific logs, just let me know, thanks here is the logs:
|
@ejjraifihamza Is this log till the moment manually trigger the crash? Do you let the app crash or is the crash stopped by Xcode? On the next app start instead of |
+1, having the same issue, native crashes aren't reported, android/ios sdk configs => "@sentry/react-native": "^5.19.2", |
@ejjraifihamza Thank you for the information, Xcode stops the application before Sentry can record the crash, |
@krystofwoldrich Thanks for your response. It's working now, but what happens if the user who experienced the crash doesn't reopen the app for two days? does the report send to sentry? |
I'm happy to heat that it works now! @ejjraifihamza The crash is save to disk and stays there until the app is launched again. The crash will be sent when the user opens the app, be it after two or mote days. If the user never launches the app, uninstalls it or removes the app data, then the crash won't be reported. |
OS:
Platform:
SDK:
@sentry/react-native
(>= 1.0.0)react-native-sentry
(<= 0.43.2)SDK version: 0.0.0
react-native
version: 0.70.6Are you using Expo?
Are you using sentry.io or on-premise?
If you are using sentry.io, please post a link to your issue so we can take a look:
[Link to issue]
Configuration:
(
@sentry/react-native
)I have the following issue:
[Description]
Steps to reproduce:
Actual result:
Expected result:
The text was updated successfully, but these errors were encountered: