Skip to content

ref(android): Extract shared nav sample app infrastructure into common package - #6220

Merged
0xadam-brown merged 4 commits into
mainfrom
ref/extract-shared-sample-app-infra
Oct 6, 2026
Merged

0xadam-brown merged 4 commits into
mainfrom
ref/extract-shared-sample-app-infra

Conversation

@0xadam-brown

Copy link
Copy Markdown
Member

📜 Description

Move shared nav sample app infrastructure into the io.sentry.samples.android.navigation.common package and isolate the existing Nav2 implementation under its own package.

💡 Motivation and Context

Lays the groundwork for the Nav3 sample app, which will make use of the .common classes.

💚 How did you test it?

Manually via sample app installation / interaction.

📝 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

  • PR for the Nav3 sample app proper.

@0xadam-brown 0xadam-brown added the ship-it PR is ready to merge from a reviewer perspective label Oct 5, 2026
@sentry

sentry Bot commented Oct 5, 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

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

@0xadam-brown
0xadam-brown force-pushed the ref/extract-shared-sample-app-infra branch from ebef890 to 934023b Compare October 5, 2026 08:14

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

@0xadam-brown
0xadam-brown force-pushed the ref/sentry-nav-effect-performance branch from f5563cb to d42fc93 Compare October 5, 2026 08:21
@0xadam-brown
0xadam-brown force-pushed the ref/extract-shared-sample-app-infra branch from 934023b to 453271d Compare October 5, 2026 08:33

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 453271d. Configure here.

Base automatically changed from ref/sentry-nav-effect-performance to main October 6, 2026 03:48
0xadam-brown and others added 4 commits October 6, 2026 05:52
…on package

Move shared navigation sample infrastructure into the io.sentry.samples.android.navigation.common package and isolate the existing Nav2 implementation under its own package. Keep Nav2 performance controls focused while wiring route-work support and launcher resources for the sample foundation.

Lays the groundwork for the Nav3 sample app.

Co-Authored-By: Codex <noreply@openai.com>
Close Retrofit response bodies for both synchronous and asynchronous route-work requests so repeated navigation cannot leak OkHttp connections.

Co-Authored-By: Codex <noreply@openai.com>
@0xadam-brown
0xadam-brown force-pushed the ref/extract-shared-sample-app-infra branch from bef6b0f to 5d20ce5 Compare October 6, 2026 03:53
@0xadam-brown

Copy link
Copy Markdown
Member Author

Rebased on an updated target; otherwise unchanged.

@0xadam-brown
0xadam-brown merged commit 9272cf8 into main Oct 6, 2026
33 checks passed
@0xadam-brown
0xadam-brown deleted the ref/extract-shared-sample-app-infra branch October 6, 2026 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ship-it PR is ready to merge from a reviewer perspective

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants