Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Kotlin Multiplatform AndroidAnalyticsManager
package com.manijshrestha.kotlinmplogging
import android.util.Log
import com.manijshrestha.kotlinmplogging.analytics.AnalyticsManager
import com.manijshrestha.kotlinmplogging.analytics.Event
class AndroidAnalyticsManager : AnalyticsManager {
override fun report(event: Event) {
Log.d("AAM", "Interaction ${event.eventName()} happened with property ${event.eventProperties()}")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.