Sessions
A session is one period of use of your app on one device. The SDK starts a new session:- at every cold start of the app;
- when the app returns to the foreground after 30 minutes or more in the background;
- when the current session reaches 4 hours, at the next return to the foreground or the next record after that.
How a session ends
Each session sends a small summary when it starts and a final one when its outcome is known:
A crashed process cannot report itself, so
crashed and abnormal_exit arrive at the next
launch. Once a session is crashed or abnormal_exit, a later summary does not change it.
Release health
A release is your app’s version string (CFBundleShortVersionString on iOS). For each app and
release, Apsio counts:
Abnormal exits are shown next to crashes but do not lower the crash-free rates.
Exact, even when sampled
The session summaries are sent for every session, whatever the sampling rate, and so are crashes and errors. Release health numbers are therefore counted, not estimated.Users need the installation id
Users are counted with the installation id: a random id per install of your app, reset when the app is reinstalled and when consent is withdrawn or the kill switch is on, so a user who consents again counts as a new one. When an app turns it off (installationId: false), user
numbers are empty and only the session numbers are shown. See
Privacy and consent.
Read release health with the read API: GET /v1/projects/{projectId}/releases.