Skip to content

feat!: raise minSdk to 24 and update android-maps-utils to 7.0.0 - #1073

Merged
kikoso merged 2 commits into
mainfrom
feat/maps-utils-7.0.0
Nov 4, 2026
Merged

kikoso merged 2 commits into
mainfrom
feat/maps-utils-7.0.0

Conversation

@dkhawk

@dkhawk dkhawk commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Raises androidMinSdk from 23 to 24 to match com.google.maps.android:android-maps-utils:7.0.0 (which exposes Maps SDK 20.1.0 requiring API 24).
  • Updates README.md minimum requirement to Android API level 24+.
  • Upgrades com.google.maps.android:android-maps-utils and com.google.maps.android:android-maps-utils-core to 7.0.0.
  • Bumps Gradle to 9.8.2, Android Gradle Plugin (agp) to 9.5.0, Dependency Analysis plugin to 3.20.1, Spotless to 8.11.0, and Ben Manes Versions plugin to 0.67.0.

BREAKING CHANGE: the minimum supported Android API level is now 24.

Test Plan

  • ./gradlew :maps-compose-widgets:testDebugUnitTest :maps-app:testDebugUnitTest :maps-app:compileDebugAndroidTestKotlin apiCheck spotlessCheck

Raises androidMinSdk from 23 to 24 to match com.google.maps.android:android-maps-utils:7.0.0 (which exposes Maps SDK 20.1.0 requiring API 24), updates README.md to Android API level 24+, and bumps Gradle to 9.8.2, AGP to 9.5.0, Dependency Analysis to 3.20.1, Spotless to 8.11.0, and Ben Manes Versions to 0.67.0.

BREAKING CHANGE: the minimum supported Android API level is now 24.
@dkhawk
dkhawk added this pull request to stack #1074 November 3, 2026 21:52
@dkhawk
dkhawk marked this pull request as ready for review November 3, 2026 21:53
@dkhawk
dkhawk requested a review from kikoso November 3, 2026 21:54
@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Coverage (unit tests)

Compared against 53c9725 on main (#1067).

Module Line % Change Branch % Change
maps-compose 15.27% 🔻 -0.01 3.76% no change
maps-compose-utils 6.09% no change 4.47% no change
maps-compose-widgets 10.88% no change 11.11% no change
TOTAL 12.98% 🔻 -0.01 4.12% no change

Line and branch coverage from unit test reports. History is recorded on the coverage-history branch after each merge to main.

play-services-maps 20.1.0 (pulled in by android-maps-utils 7.0.0) initializes
GoogleMapOptions.mapColorScheme to -1 instead of 0. GoogleMap() only applied
its mapColorScheme when the options value was 0, so the scheme was silently
dropped and the color scheme instrumentation tests failed.

Compare against the SDK's own default (GoogleMapOptions().mapColorScheme) so
both versions work, and an explicit LIGHT in googleMapOptionsFactory is now
respected on 20.1.0. The lite mode tests expect that default instead of a
hardcoded LIGHT.
@googlemaps-bot

Copy link
Copy Markdown
Contributor

Coverage (instrumentation tests)

Overall Project 43.6% 🍏
Files changed 100% 🍏

Module Coverage
maps-app 63.91% 🍏
Files
Module File Coverage
maps-app GoogleMap.kt 79.98% 🍏

@kikoso kikoso left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@kikoso
kikoso merged commit 5c44583 into main Nov 4, 2026
14 checks passed
@kikoso
kikoso deleted the feat/maps-utils-7.0.0 branch November 4, 2026 07:31
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.

3 participants