amplitude / amplitude/Amplitude-Android

How do we get access to sessionId?

Offen
#352 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
169
Forks
87
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

In the new Amplitude SDK doc, it says sessionId is a property of the Amplitude() object, and can be accessed accordingly -> amplitude.sessionId https://www.docs.developers.amplitude.com/data/sdks/android-kotlin/#user-sessions
However, I have found that this is not true. sessionId appears to live inside the EventOptions() object. How can developers access sessionId (and other user params ie device, location etc.) from the EventOptions? Or is it possible to access sessionId some other way?

I am using SDK version analytics-android:1.6.0

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.