| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Sorry, something went wrong.
📲 Install BuildsAndroid
|
Sorry, something went wrong.
There was a problem hiding this comment.
Stale Bugbot comment from a previous run.
Sorry, something went wrong.
There was a problem hiding this comment.
Stale Bugbot comment from a previous run.
Sorry, something went wrong.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 4 total unresolved issues (including 3 from previous reviews).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 6a2c118. Configure here.
Sorry, something went wrong.
Add the observer layer that turns Navigation 3 back stack changes into breadcrumbs, scope state, and navigation transactions. This is also the point where the module starts carrying generated BuildConfig version metadata and its first non-empty API snapshot.
| */ | ||
| @ApiStatus.Experimental | ||
| @Immutable | ||
| internal class SentryNavOptions |
There was a problem hiding this comment.
Marked as experimental b/c this will be made public in a follow-on to the current PR stack (same below).
Sorry, something went wrong.
Keep the hint internal for the current stack, but mark it experimental ahead of the follow-on public surface work. Also rename the key and field to match the Android hint naming pattern.
| public static final String ANDROID_NAV_DESTINATION = "android:navigationDestination"; | ||
|
|
||
| /** Used for Navigation 3 breadcrumbs. */ | ||
| @ApiStatus.Experimental @ApiStatus.Internal |
There was a problem hiding this comment.
Marked as experimental b/c this will be made public in a follow-on to the current PR stack.
⚠️ Note that Nav3 currently only supports hints for breadcrumbs. The only other candidate is transactions, but I've refrained because Nav2 transactions lack them. Chime in if you think we should reconsider.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Stack (Android Nav3)
📜 Description
Now we wire up the logic for consuming the host app's back stack and emitting finished Sentry data. The class responsible for doing so is BackStackObserver.
It rotates the ambient nav transaction and emits the following Sentry data every time the top of the back stack is updated:
BackStackObsever makes use of the RouteTranslator from #6130 for the actual back stack entry -> raw Sentry data translation.
💡 Motivation and Context
With route modeling in place, the next boundary is the state machine that reacts to navigation changes. Keeping that behavior separate makes it easier to review lifecycle and tracing semantics without mixing in Compose effect concerns yet.
addresses: JAVA-274
💚 How did you test it?
📝 Checklist
🔮 Next steps
Introduce the Compose-facing effect that owns this observer in application code.
#skip-changelog