gcx/frontend/genex-mobile/lib
hailin 918489e4e5 fix(mobile/telemetry): buffer pre-init events instead of dropping them
Root cause: TelemetryService.initialize() is async (device info collection,
SharedPreferences I/O, remote config sync), taking several hundred ms to
complete. RouteObserver page_view events and auth events fire synchronously
during the initial navigation before initialization finishes, causing the
"TelemetryService not initialized, event ignored" drops seen in logs.

Fix: add _preInitBuffer (max 50 events). logEvent() now enqueues events
instead of dropping when _isInitialized=false. After initialization
completes, all buffered events are replayed in order via logEvent(),
ensuring no startup events are lost.

The network errors ("Failed host lookup: api.gogenex.com") are unrelated —
they are expected in offline test environments and handled gracefully.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 10:42:53 -08:00
..
app feat(mobile): implement invite friends share page with APK QR code & referral marketing 2026-03-07 10:17:59 -08:00
core fix(mobile/telemetry): buffer pre-init events instead of dropping them 2026-03-07 10:42:53 -08:00
features feat(mobile): implement invite friends share page with APK QR code & referral marketing 2026-03-07 10:17:59 -08:00
shared/widgets feat(genex-mobile): Flutter 前端对接 SMS 认证 API 2026-02-23 19:23:25 -08:00
main.dart feat(mobile/telemetry): add comprehensive event tracking for DAU, real-time presence & funnels 2026-03-07 09:39:48 -08:00