Skip to content

feat: add navigation flavor to demo for SDK 7.x reproduction#1680

Draft
kikoso wants to merge 11 commits intomainfrom
feature/navigation-sdk-flavor
Draft

feat: add navigation flavor to demo for SDK 7.x reproduction#1680
kikoso wants to merge 11 commits intomainfrom
feature/navigation-sdk-flavor

Conversation

@kikoso
Copy link
Copy Markdown
Collaborator

@kikoso kikoso commented Apr 23, 2026

This PR adds a 'navigation' build flavor to the demo module to help reproduce and debug issues with the Google Navigation SDK 7.x, as reported in #1679.

Changes:

  • Added navigation SDK 7.4.0 to libs.versions.toml
  • Configured 'standard' and 'navigation' flavors in demo/build.gradle.kts
  • Introduced MapFragmentProvider in flavor-specific source sets to handle fragment type differences (SupportMapFragment vs SupportNavigationFragment)
  • Updated BaseDemoActivity to use the provider and reflection for getMapAsync to support both types.

@kikoso kikoso marked this pull request as ready for review April 23, 2026 13:21
@kikoso kikoso marked this pull request as draft April 23, 2026 13:21
@googlemaps-bot
Copy link
Copy Markdown
Contributor

Code Coverage

Overall Project 41.11% 🍏

There is no coverage information present for the Files changed

Comment thread demo/build.gradle.kts Fixed
Comment thread demo/build.gradle.kts Fixed
Comment thread gradle/libs.versions.toml Fixed
Comment thread gradle/libs.versions.toml Fixed
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.

4 participants