googlemaps / android-maps-compose

Jetpack Compose composables for the Maps SDK for Android
https://developers.google.com/maps/documentation/android-sdk/maps-compose
Apache License 2.0
1.16k stars 142 forks source link

Default expressions on optional parameters are not public #513

Closed bubenheimer closed 5 months ago

bubenheimer commented 10 months ago

android-maps-compose 4.3.2

The GoogleMap() compose function uses certain default expressions on optional parameters that are not public. This prevents overriding the function in app code in a reasonable manner.

This is what the "API Guidelines for @Composable components in Jetpack Compose" have to say on it:

Developers should make sure that default expressions on optional parameters are publicly available and meaningful.

https://github.com/androidx/androidx/blob/androidx-main/compose/docs/compose-component-api-guidelines.md#default-expressions

googlemaps-bot commented 5 months ago

:tada: This issue has been resolved in version 5.0.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: