Skip to content

Commit 0ee245f

Browse files
fix: lint error releated to backward compatibility (related to foreach in map) (#104)
1 parent ac27439 commit 0ee245f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/mparticle/kits/GoogleAnalyticsFirebaseKit.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ class GoogleAnalyticsFirebaseKit : KitIntegration(), KitIntegration.EventListene
415415

416416
val clientConsentSettings = parseToNestedMap(consentState.toString())
417417

418-
parseConsentMapping(settings[consentMappingSDK]).forEach { currentConsent ->
418+
parseConsentMapping(settings[consentMappingSDK]).iterator().forEach { currentConsent ->
419419

420420
val isConsentAvailable =
421421
searchKeyInNestedMap(clientConsentSettings, key = currentConsent.key)

0 commit comments

Comments
 (0)