What the SDK sends
- The app and device: bundle id, version, build UUID, OS name and version, device model
(for example
iPhone16,1), total memory, the language and region settings, orientation, appearance and font scale, and the SDK’s name and version. - The installation id: a random id for each install, on by default (below).
- State: connectivity type, thermal state, low power mode and memory warnings; on Android,
on a cellular connection, the carrier’s name, network codes and country; the battery, on by
default on Android and off by default on iOS (
battery). - Use: screen names and each session’s screen path, rage and dead taps (the view tapped, never text or coordinates), why the app was launched (icon, notification, deep link and so on, never the link or the payload) and where it was installed from.
- Sessions: a random session id, start and end, outcome.
- Failures: crash reports, hangs, terminations without a crash report, and the handled errors your code records, with their stacks.
- Performance: app start and screen load times, MetricKit reports, and network requests: method, URL without the query string or fragment, host, status code and duration.
- What your code adds: logs, breadcrumbs, spans, attributes, feature flags and the user hash.
What stays on the phone
- Request and response bodies, query strings and URL fragments.
- Advertising and vendor identifiers: the SDK never reads the IDFA or the IDFV.
- Emails and names: the SDK never collects them on its own. Do not put them in logs or attributes either.
The user hash
setUser(idHash:) identifies the user with a value you compute, such as the hex HMAC-SHA256 of
your own user id with a secret your app keeps, so the hash cannot be worked out from the user. Apsio
never sees the id itself. See Users and attributes.
Use 16 to 256 letters, digits and + / = _ . : - (hex or base64 fit): that is the hash you can
later erase by.
- A hash with other characters is still recorded, but cannot be erased by hash.
- A hash shorter than 16 characters is still recorded and works everywhere else. But requests for one user’s devices (capture their next sessions, send or delete what their device holds) and live testers match a user by hash only from 16 characters, since a shorter one can be found by trying. For such a user, use the install id instead.
Erasing a user
When one of your users asks to be forgotten, an owner or admin of the organization enters their hash in Settings, Erase a user. It is scheduled until a day later, cancelable meanwhile; then, after the wait below, every record of the project that carries the hash is deleted, with every session that carries it, whole (a session where the app switched users midway too), and those sessions’ replays and crash reports. The same hash in another project is left alone. Stop sending the hash first: records sent after the erasure ran are not erased. How long it takes: a day’s grace, when you can still cancel; then about a day, so that what the app sent just before and was still on its way is erased too; then about a minute per 500 sessions. The records leave every query at once and the disk when the erasure ends. Copies in backups expire within 30 days (a restore erases them again), and so do two raw stores that cannot be searched by user: the ingest log (raw/) and large request bodies kept for processing (ingest/).
Deleting a project
An owner or admin deletes a project in Settings, General, Delete this project, by typing its name. From then on the project is gone for the organization: it leaves the project list, its apps’ keys stop working at ingest, and its project tokens are revoked. It is scheduled until seven days later, and until then an owner or admin can cancel it in Settings: the project comes back and the same keys work again, so builds already in your users’ hands keep sending. Tokens stay revoked; make new ones. Then everything the project holds is deleted over about a day, including what its apps sent just before and was still on its way: its sessions, crashes, logs, spans, metrics, replays, attachments and uploaded symbols, and the project with its apps, keys, alerts and dashboards. The organization’s usage for the billing period is kept, since it pays for what the project sent. Its activity log keeps the deletion. Copies in backups expire within 30 days, and a restore deletes them again. A new project can take the same name at any time; it starts empty.The installation id
To count users, not only sessions, the SDK keeps a random id per install of your app:- generated on first launch and reset when the app is reinstalled;
- never derived from the IDFV, the IDFA or any other device identifier, and never shared with other apps, so it is not tracking under App Tracking Transparency;
- deleted from the device when collection stops: when consent is withdrawn (
setConsent(false)) or the kill switch is on. When collection resumes, the SDK makes a new one, so later data never links to earlier data; - on by default. Turn it off at start:
ApsioOptions(installationId: false)on iOS,installationId = falseon Android,Apsio.start(key, { installationId: false })in React Native and"installationId": falsein the Expo config plugin. Off, no id is made and the next start deletes a stored one; release health then shows crash-free sessions only.
Consent
Apsio.setConsent(false) stops collection and deletes the whole store on the device at once,
sent or not (what it holds). The
installation id is deleted too (above); the SDK’s small state files stay
on the device, unused, and a crash report written while consent is off is deleted unsent at the
next launch;
setConsent(true) resumes it. The choice is kept across launches. If your app must ask
before anything is collected, call start only after the user agrees. See
Privacy and consent in the iOS SDK.
App Store privacy labels
Each module of the iOS SDK ships a privacy manifest (PrivacyInfo.xcprivacy), and so do the
React Native pod and the Flutter plugin. Together they declare a device ID, a user ID, coarse location, product
interaction, crash data, performance data and other diagnostic data, all linked to the user,
none used for tracking, for app functionality and analytics: by default every record carries
the installation id, and Apple counts personal data as linked.
Of Apple’s required-reason APIs, the SDK uses only the system uptime clock, Apple’s “system boot
time” category: to measure time between events in the app, to run its timers and to timestamp
touches (reasons 35F9.1 and 8FFB.1). Nothing derived from it leaves the device but those
durations and times, and the SDK never reads when the device started.
In your App Store privacy label, declare, each linked to the user and not used for tracking:
- product interaction: screen views, rage and dead taps and launch reasons, on by default, and replay’s structure and touches when replay is on;
- crash data, performance data and other diagnostic data;
- a device ID: the installation id, on by default;
- coarse location: the country and region Apsio derives on its servers from the IP of each request;
- with
setUser(idHash:), a user ID.
setUser, you may judge the linking differently. The label
is your app’s own declaration, under Apple’s definitions: this is guidance, not legal advice.