-
Notifications
You must be signed in to change notification settings - Fork 5
feat(sentry-flutter-sdk): Integrate and test sentry flutter sdk #23
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
Conversation
…tlin and java methods
|
getsentry/sentry-dart#184 for missing stack traces for unhandled flutter errors |
|
for |
|
about we filter stack traces from our own package. if you look at your example, the Java async task class is ideally, the solution would be to rename the if you think that the package should be called |
|
the 2 iOS issues related to |
|
related to the |
|
@denrase that's all, thanks for doing this, we've fixed the issue that caused most of the missing app's stack traces, they were all related to the same bug. the iOS you need to rename your android package to not start with the message channel exceptions should be used along with |
this is a limitation of the ecosystem
|
|
Nice thanks! Will do the renaming 🙏 |
Implementation
I created a debug screen wehere we can record exception and trigger native crashed. For recording, we can throw String, Error and Exception instances. To Reach the screen, long press on the session cookie text in the settings screen while authenticated.
List of Tests
throw Exception instance:
Sentry.captureExceptionthrow Error instance:
Sentry.captureExceptionthrow String instance:
Sentry.captureExceptionPlatform Native
throw Exception instance:
Sentry.captureExceptionthrow Error instance:
Sentry.captureExceptionthrow String instance:
Sentry.captureExceptionPlatform Native
Results
Debug Mode Runs
No application methods in stacktrace for unhandled String instance: ❌
No application methods in stacktrace for unhandled Exception instance: ❌
Application methods in stacktrace for unhandled Exception instance is shown: ✅
Exception thown in message channel was not reported to sentry mobile: ❌
Kotlin Crash in AsycTask ❌
Java Crash in AsyncTask ✅
Release Mode Runs
There wer no dsyms or other files uploaded for symbolication. Just directly run with
flutter run --release. So i guess most missind info in stacktraces is because of this