Skip to content

Commit

Permalink
LIBMOBILE-1276 - Bump up analytics-kotlin version to latest. (#10)
Browse files Browse the repository at this point in the history
* LIBMOBILE-1276

upgraded Analytics version from 1.6.2 to 1.10.3

* LIBMOBILE-1276
- replaced LogFilterKind with LogKind
  • Loading branch information
RawatRaveena authored Apr 13, 2023
1 parent f691a90 commit 89bfc73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ android {
dependencies {
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.2")

implementation("com.segment.analytics.kotlin:android:1.6.2")
implementation("com.segment.analytics.kotlin:android:1.10.3")
implementation("androidx.multidex:multidex:2.0.1")

implementation("androidx.core:core-ktx:1.9.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package com.segment.analytics.kotlin.destinations.amplitude
import com.segment.analytics.kotlin.core.*
import com.segment.analytics.kotlin.core.platform.Plugin
import com.segment.analytics.kotlin.core.platform.VersionedPlugin
import com.segment.analytics.kotlin.core.platform.plugins.logger.LogFilterKind
import com.segment.analytics.kotlin.core.platform.plugins.logger.LogKind
import com.segment.analytics.kotlin.core.platform.plugins.logger.log
import com.segment.analytics.kotlin.core.utilities.putIntegrations
import java.util.*
Expand Down Expand Up @@ -31,7 +31,7 @@ class AmplitudeSession (sessionTimeoutMs : Long = 300000) : Plugin, VersionedPlu
payload?.let {
analytics.log(
message = "Running ${payload.type} payload through AmplitudeSession",
kind = LogFilterKind.DEBUG
kind = LogKind.DEBUG
)
refreshSessionID()
returnPayload =
Expand Down

0 comments on commit 89bfc73

Please sign in to comment.