amplitude / amplitude/Amplitude-Android

How do we get access to sessionId?

Open
#352 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
169
Forks
87
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.