Data and privacy
App store disclosures
A mapping from what the SDK sends to the App Store privacy label and the Google Play data safety form, as input for the answers your team gives.
Both app stores ask what data your app collects and why. This page maps what the SDK sends to each store's categories, so your privacy team can fill in the forms. The final answers are yours: they cover your whole app, and they depend on which SDK calls you make and what you put in events and attributes.
Before you start
- List which SDK calls your app makes. The SDK always sends a fixed set of data; everything else depends on your calls.
- Decide whether you use minimal mode. See Data collection controls.
What the SDK sends, mapped to each store
| SDK data | Sent when | App Store category | Google Play category |
|---|---|---|---|
| Device ID (random UUID) | Always | Identifiers: Device ID | Device or other IDs |
| External ID | You call identify | Identifiers: User ID | Personal info: User IDs |
| Sessions, screens, custom events, message impressions and clicks | Always (sessions and message interactions); your calls for the rest | Usage Data: Product Interaction | App activity: App interactions |
| Custom attributes and event properties | You call track, screen, setAttributes | Usage Data: Other Usage Data, or a more specific type if the values are, for example, health or financial data | App activity: Other actions, or the more specific type |
| Email address | You call setEmail | Contact Info: Email Address | Personal info: Email address |
| Phone number | You call setPhone | Contact Info: Phone Number | Personal info: Phone number |
| Purchases | You call trackPurchase | Purchases: Purchase History | Financial info: Purchase history |
| Latitude and longitude | You call setLocation | Location: Precise Location, or Coarse Location if you round the values first | Location: Precise location, or Approximate location |
| Geofence entered or left (the geofence's id and name, no coordinates) | You add the geofence module and call enableGeofences() (SDK 0.7.0+) | Location: Coarse Location for geofences with a large radius, Precise Location if your geofences are small enough to place a person precisely (Apple counts three decimal places of latitude and longitude, about 100 meters, as precise) | Location: Approximate location, or Precise location for small geofences |
| Crash and hang reports (iOS) | You set crashReports = true | Diagnostics: Crash Data (not linked to the user) | App info and performance: Crash logs |
| Push token | You register for push | Usually not a separate category; check Apple's and Google's current guidance | Device or other IDs |
| App, OS and device details, locale, time zone, network type, notification permission | Always (tier 1); by default (tier 2) | Check Apple's current guidance for device and diagnostic details | Check Google's current guidance for device and diagnostic details |
The SDK never sends advertising identifiers, contacts, photos, files or carrier data, and never reads location on its own. It reads location only after your app calls enableGeofences(), and even then sends only geofence crossings, never coordinates.
Answers the SDK lets you give
| Question | What is true of the SDK |
|---|---|
| Used for tracking (Apple) | No. The SDK declares NSPrivacyTracking false and no tracking domains. |
| Linked to the user (Apple) | Yes for identified users: data is stored with the External ID. Anonymous data is linked to the device ID. Crash reports are declared not linked. |
| Purposes | App functionality (delivering messages) and analytics (measuring which messages work). The SDK's privacy manifest declares these two, and App Functionality only for crash data. Add others if your app uses the data for more. |
| Encrypted in transit (Google) | Yes when your endpoint URL uses HTTPS, which Herald's hosted API does. |
| Users can request deletion (Google) | You provide the request path. The SDK gives you wipeData() on the device; see User data deletion for Herald's side. |
| Collection optional (Google) | Your decision. If you gate the SDK on consent with setEnabled, collection is optional for the user. |
| Shared with third parties | Herald processes the data to deliver your messages. Whether that counts as sharing under each store's definitions is for your privacy team to decide. |
Edge cases
- Minimal mode removes locale, language, time zone, device model, screen, network type and notification permission. It does not change the categories you declare for the always-sent data.
- Sensitive values in events. If event properties or attributes carry health, financial or other sensitive data, declare those types too, or stop sending them.
- Geofences. Your app asks for background location permission itself, so its own purpose strings and store answers already cover location. Declare location once for the whole app, with the purposes you use geofence events for. Google Play also requires a background location declaration and review for apps that request
ACCESS_BACKGROUND_LOCATION. - Two SDKs, one form. If you run Herald next to another messaging SDK during a migration, your answers must cover both.