Skip to content

Commit ea86a58

Browse files
committed
chore: update mixpanel to allow automatic events to be tracked properly
Signed-off-by: Brandon McAnsh <[email protected]>
1 parent 60e6b28 commit ea86a58

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

apps/flipcash/app/src/main/kotlin/com/flipcash/app/inject/ApiModule.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ object ApiModule {
1717
@Singleton
1818
@Provides
1919
fun provideMixpanelApi(@ApplicationContext context: Context): MixpanelAPI {
20-
return MixpanelAPI.getInstance(context, BuildConfig.MIXPANEL_API_KEY)
20+
return MixpanelAPI.getInstance(
21+
/* context = */ context,
22+
/* token = */ BuildConfig.MIXPANEL_API_KEY,
23+
/* trackAutomaticEvents = */ true
24+
)
2125
}
2226
}

buildSrc/src/main/java/Dependencies.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ object Versions {
6969
const val junit = "4.13.1"
7070
const val androidx_junit = "1.1.3"
7171
const val espresso = "3.4.0"
72-
const val mixpanel = "6.4.0"
72+
const val mixpanel = "8.2.0"
7373

7474
const val markwon = "4.6.2"
7575
const val timber = "5.0.1"

0 commit comments

Comments
 (0)