You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6d0acbc
Browse filesBrowse the repository at this point in the historyBrowse files
ref(android): Support Nav3 for multi-Activity applications (JAVA-274)
Introduce Nav3 support for multi-Activity applications by managing shared SentryNavEffect state so that multiple instances can overlap during Activity transitions without interfering with one another.
Basic approach was to replace the IScopes instance that BackStackObserver already talks to with a a smarter version that can toggle between the shared underlying scope and a per-instance staged version, depending on whether the observer is associated with the incoming our outgoing SentryNavEffect.
Doing so let's us keep modifications to SentryNavEffect, BackStackObserver, etc. to a minimum, and makes it easy to swap out our implementation in the future, should we eventually hide our IScopes API behind a LocalSentrySpan-esque system (or any of a number of other possibilities).
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
3
3
## Unreleased
4
4
5
+
### Improvements
6
+
7
+
- Support Navigation 3 integration for multi-Activity applications, where each Activity has its own `SentryNavEffect` ([#6229](https://github.com/getsentry/sentry-java/pull/6229))
8
+
- Each `LifecycleOwner` (e.g., an Activity or Fragment) can have its own `SentryNavEffect`, as long as the user can't interact with more than one of those owners at a time. Owners that stay visible beneath the one the user interacts with (e.g., beneath a dialog or translucent Activity) are supported
9
+
- Limitations: Does not support nested or side-by-side `NavDisplay` and `SentryNavEffect` pairs within the same `LifecycleOwner`, or `SentryNavEffect`s in multiple owners the user can interact with at the same time (e.g., two Activities in [multi-resume mode](https://developer.android.com/develop/ui/views/layout/support-multi-window-mode))
10
+
5
11
### Fixes
6
12
7
13
- Measure Session Replay's 1h recording cap and its touch-move debounce on a monotonic clock, so a device time change no longer stops a healthy recording early, keeps a finished one alive, or suppresses gesture events ([#6090](https://github.com/getsentry/sentry-java/pull/6090))
0 commit comments