Features
- Set
app.vitals.start.screenandapp.vitals.start.typeon standaloneapp.startchildren (#6005) - Add screenshot attachment button to the Android user feedback widget (#5828)
- Users can now attach a screenshot when submitting feedback. Enabled by default; can be disabled via
SentryFeedbackOptions.setEnableAttachScreenshot(false)or theio.sentry.feedback.enable-attach-screenshotmanifest flag. - Requires the
androidx.activity>=1.8.2dependency
- Users can now attach a screenshot when submitting feedback. Enabled by default; can be disabled via
- Add manual Session Replay controls through
Sentry.replay()(#5978)- Explicit
start()andstartBuffering()calls bypass the configured replay sample rates; sampling still controls automatic startup. start()starts a full-session replay and does nothing if one is already recording.startBuffering()keeps a rolling buffer that is sent onflush()or an error, then continues in session mode.stop()ends the current replay; the nextstart()creates a new replay session.pause()suspends recording untilresume()and remains paused across background and foreground transitions and automatic replay restarts in the same process.resume()continues the same manually paused replay.flush()sends the current replay data, or starts a full-session replay when recording is stopped.
- Explicit
Fixes
- Prevents inclusion of
null.prefix before default-package class names when parsing Java and JNI frames from Android ANR thread dumps (#5979) - Prevent duplicated breadcrumbs on tombstone-merged native crash events (#5888)
- Prevent a class of Session Replay deadlocks by confining lifecycle state changes to Android's main thread (#5965)
- Symbolicate tombstone native frames for libraries loaded directly from APKs (#5992)
- Prevent a deadlock between the app start extension and the Android performance event processor (#6007)
Performance
- Defer starting Session Replay off the SDK initialization critical path (#5965)
- Use manifest metadata resolved at build time to reduce Android SDK initialization overhead (#5976)