Skip to content

feat(android): Publish Nav3 support - #6233

Merged
0xadam-brown merged 4 commits into
mainfrom
feat/publish-sentry-nav-effect
Oct 7, 2026
Merged

0xadam-brown merged 4 commits into
mainfrom
feat/publish-sentry-nav-effect

Conversation

@0xadam-brown

@0xadam-brown 0xadam-brown commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

🎉 PR makes Nav3 support public so that it can be released in 8.60.0

📜 Description

PR adds the wiring needed to publish the sentry-android-navigation3 module, which implements our phase 1 support for Android's Nav3 library.

It also removes the @ApiStatus.Internal annotations from our public Nav3 APIs, including SentryNavEffect.

See the SentryNavEffect KDoc and the sentry-android-navigation3 README for more details.

💡 Motivation and Context

Lets developers use SentryNavEffect alongside their existing NavDisplay to record navigation transactions, breadcrumbs, screen names, and back stack context as users move around their apps.

Documentation PR: sentry-docs #19804.

resolves: JAVA-274

💚 How did you test it?

Existing unit tests pass.

Had my LLM (one last time!) manually stress test the implementation via the Nav3Activity sample app.

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.

🔮 Next steps

  • Merge support for multi-Activity apps that use one SentryNavEffect per Activity (#6229).
  • Introduce a rememberSentryEntryProvider() method that abstracts away both SentryNavEffect and BackStackEntryMapper, allowing developers to use their ordinary course entry provider mapping as the key Sentry Nav3 API (for phase 1, at any rate).

@linear-code

linear-code Bot commented Oct 7, 2026

Copy link
Copy Markdown

JAVA-274

@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against e6b2b7e

@sentry

sentry Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.59.0 (1) release

⚙️ sentry-android Build Distribution Settings

@0xadam-brown
0xadam-brown force-pushed the feat/publish-sentry-nav-effect branch from 98e3a9c to 3474488 Compare October 7, 2026 09:00
@0xadam-brown 0xadam-brown changed the title feat(android): Publish sentry-android-navigation3 and SentryNavEffect feat(android): Publish Nav3 support Oct 7, 2026
@0xadam-brown
0xadam-brown force-pushed the feat/publish-sentry-nav-effect branch from 3474488 to e0fb5d5 Compare October 7, 2026 09:07
Commit adds the wiring needed to publish the sentry-android-navigation3 module, which implements our [phase 1](https://linear.app/getsentry/project/android-nav3-support-28432794ea7d/overview) support for Android's [Nav3 library](https://developer.android.com/guide/navigation/navigation-3). It also removes the `@ApiStatus.Internal` annotations from our public Nav3 APIs, including SentryNavEffect.

See the SentryNavEffect KDoc and the sentry-android-navigation3 README for more details.
@0xadam-brown
0xadam-brown force-pushed the feat/publish-sentry-nav-effect branch from e0fb5d5 to baafe85 Compare October 7, 2026 09:11
@0xadam-brown
0xadam-brown marked this pull request as ready for review October 7, 2026 09:11
Added details about Android Navigation 3 support and cellular network technology reporting.
Updated the version number for sentry-android-navigation3 from 21 to 23.
@0xadam-brown
0xadam-brown merged commit 2f3df97 into main Oct 7, 2026
71 checks passed
@0xadam-brown
0xadam-brown deleted the feat/publish-sentry-nav-effect branch October 7, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants