Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
package com.google.maps.android.compose.utils.attribution

import android.content.Context
import androidx.annotation.Keep
import androidx.startup.Initializer
import com.google.android.gms.maps.MapsApiSettings
import com.google.maps.android.compose.utils.meta.AttributionId
Expand All @@ -26,6 +27,7 @@ import com.google.maps.android.compose.utils.meta.AttributionId
* and samples are helpful to developers, such as usage of this library.
* To opt out of sending the usage attribution ID, please remove this initializer from your manifest.
*/
@Keep
internal class AttributionIdInitializer : Initializer<Unit> {
override fun create(context: Context) {
MapsApiSettings.addInternalUsageAttributionId(
Expand Down