Skip to content

Commit

Permalink
fix: add GetIngestionMetadataPlugin in android.Amplitude (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhao900914 authored Sep 27, 2022
1 parent a8aa604 commit 0c6d6cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions android/src/main/java/com/amplitude/android/Amplitude.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import com.amplitude.android.plugins.AndroidLifecyclePlugin
import com.amplitude.core.Amplitude
import com.amplitude.core.Storage
import com.amplitude.core.platform.plugins.AmplitudeDestination
import com.amplitude.core.platform.plugins.GetAmpliExtrasPlugin
import com.amplitude.core.utilities.AnalyticsIdentityListener
import com.amplitude.core.utilities.FileStorage
import com.amplitude.id.FileIdentityStorageProvider
Expand Down Expand Up @@ -53,6 +54,7 @@ open class Amplitude(
lastEventTime = storage.read(Storage.Constants.LAST_EVENT_TIME)?.toLong() ?: -1
androidContextPlugin = AndroidContextPlugin()
add(androidContextPlugin)
add(GetAmpliExtrasPlugin())
add(AndroidLifecyclePlugin())
true
}
Expand Down

0 comments on commit 0c6d6cb

Please sign in to comment.