7c9e730cf03d88b7fe1de6243f11d3fe854b6569
The sessionId getter mints a fresh session on cold start or after a 30-min lapse, and as a side effect nulls _currentScreenName/_currentStepUid. trackScreen() set those fields before calling the sessionId getter, so the mint-on-cold-start side effect could immediately null the fields it had just set, breaking the same-screen idempotency check and firing a duplicate session_enter right after cold start. Fix: resolve visitorId and sessionId into local variables before assigning _currentScreenName/_currentStepUid, and use the locals in the _enqueue() payload. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
m8chat_app
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Languages
Dart
98%
HTML
1.1%
JavaScript
0.6%
Swift
0.3%