core/app_session_tracker library
Classes
- AppSessionTracker
- Session id, install/session counters, and foreground duration — one place every feature reads instead of each hand-rolling its own "first open"/"session count" bookkeeping.
- SessionInfo
-
Immutable snapshot of the current process's session — a fresh one is
created at construction (cold start) and again on any
RoyLifecycleEvent .resumedthat arrives after longer than AppSessionTracker.sessionTimeout in the background.