-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implements Amplitude with flutter_segment package #66
Comments
Hi @RicharC293. Does the issue is when you trying to get session id from amplitude_flutter the session id always be -1? Without the implementation details, we cannot find the real cause is. May I know which version of amplitude_flutter you are using and how you get the session id? |
Sometimes when i call getSessionId() return session id but in other cases return -1 [√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [√] Chrome - develop for the web [√] Android Studio (version 2020.3) [√] VS Code (version 1.60.1) [√] Connected device (3 available) • No issues found! Amplitude Version amplitude_flutter 3.3.0 Code to call session_id implemented
|
Did you ever find the solution to this problem? We see the same thing where the session ID defaults to -1 in Amplitude because |
We are trying to implement this package for segment and amplitude integration all at the flutter level.
https://pub.dev/packages/flutter_segment
https://pub.dev/packages/flutter_segment#setting-the-options-globally
The flutter_segment package to identify the user asks me for a session_id but when trying to get this session_id with the amplitude package it always returns -1.
My question is, what would be the best practice to integrate these two packages, maybe there is any suggestion?
As far as I understand I need to identify the user to get a session Id, maybe it works in a similar way with the anonimus id that segment provides?
The text was updated successfully, but these errors were encountered: