进入前台时 flush 覆盖两种场景: 1. 上次 paused flush 因网络失败未上传的事件 2. 上次被强杀(force-kill)遗留在本地队列的事件 app_session_start 事件(含设备信息)也在此时立即上传, 无需等待10条阈值或30秒定时器。 参考:Amplitude/Mixpanel 均在 session start 时触发 flush。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| core | ||
| features | ||
| routes | ||
| app.dart | ||
| bootstrap.dart | ||
| main.dart | ||