If you want to try Session Replay Android Alpha, see our alpha release: https://github.com/getsentry/sentry-dart/releases/tag/8.6.0-alpha.2
Improvements
- Add error type identifier to improve obfuscated Flutter issue titles (#2170)
- Example: transforms issue titles from
GAtoFlutterErrororminified:nEtoFlutterError - This is enabled automatically and will change grouping if you already have issues with obfuscated titles
- If you want to disable this feature, set
enableExceptionTypeIdentificationtofalsein your Sentry options - You can add your custom exception identifier if there are exceptions that we do not identify out of the box
- Example: transforms issue titles from
// How to add your own custom exception identifier
class MyCustomExceptionIdentifier implements ExceptionIdentifier {
@override
String? identifyType(Exception exception) {
if (exception is MyCustomException) {
return 'MyCustomException';
}
if (exception is MyOtherCustomException) {
return 'MyOtherCustomException';
}
return null;
}
}
SentryFlutter.init((options) =>
options..prependExceptionTypeIdentifier(MyCustomExceptionIdentifier()));Deprecated
- Deprecate
enableTracing(#2199)- The
enableTracingoption has been deprecated and will be removed in the next major version. We recommend removing it
in favor of thetracesSampleRateandtracesSampleroptions. If you want to enable performance monitoring, please set
thetracesSampleRateto a sample rate of your choice, or provide a sampling function astracesSampleroption
instead. If you want to disable performance monitoring, remove thetracesSamplerandtracesSampleRateoptions.
- The