You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start Session and End Session events should be tracked when the application moves to the foreground and background, respectively.
Current Behavior
Start Session, End Session events seems to be tracked every time the application is created and our app initialises analytic, every time some worker wakes up application in the background Amplitude tracks Start Session, End Session events with same timestamps
Possible Solution
As a temporary workaround, I disabled automatic session tracking in the Amplitude SDK by removing AutocaptureOption.SESSIONS from the autocapture configuration:
SDK Version and configuration details
1.20.2
Expected Behavior
Start Session and End Session events should be tracked when the application moves to the foreground and background, respectively.
Current Behavior
Start Session, End Session events seems to be tracked every time the application is created and our app initialises analytic, every time some worker wakes up application in the background Amplitude tracks Start Session, End Session events with same timestamps

Possible Solution
As a temporary workaround, I disabled automatic session tracking in the Amplitude SDK by removing
AutocaptureOption.SESSIONS
from theautocapture
configuration:A similar issue also existed in the old, now-deprecated Amplitude SDK: amplitude/Amplitude-Android#397
The text was updated successfully, but these errors were encountered: