8.12.0
Warning
Android: Please do not use this version if you're initializing the SDK manually on a background thread, as this could lead to a crash during SDK init (issue details here). We recommend using SDK version 8.13.1 or higher instead.
Features
- Add new User Feedback API (#4286)
- We now introduced Sentry.captureFeedback, which supersedes Sentry.captureUserFeedback
- Add Sentry Log Feature (#4372)
- The feature is disabled by default and needs to be enabled by:
options.getLogs().setEnabled(true)
inSentry.init
/SentryAndroid.init
<meta-data android:name="io.sentry.logs.enabled" android:value="true" />
inAndroidManifest.xml
logs.enabled=true
insentry.properties
sentry.logs.enabled=true
inapplication.properties
sentry.logs.enabled: true
inapplication.yml
- Logs can be captured using
Sentry.logger().info()
and similar methods. - Logs also take a format string and arguments which we then send through
String.format
. - Please use
options.getLogs().setBeforeSend()
to filter outgoing logs
- The feature is disabled by default and needs to be enabled by:
Fixes
- Hook User Interaction integration into running Activity in case of deferred SDK init (#4337)