Data and privacy
App Tracking Transparency and privacy manifests
Why the SDK does not need App Tracking Transparency, and the exact contents of the privacy manifest that ships with the iOS SDK.
The SDK does not track users across apps or websites owned by other companies, does not read the IDFA, and declares no tracking domains. Adding it does not by itself require an App Tracking Transparency prompt.
App Tracking Transparency
- The SDK never reads the advertising identifier (IDFA) or the vendor identifier (IDFV), and does not link the AdSupport or AppTrackingTransparency frameworks.
- The device ID is a random UUID the SDK creates and keeps in your app's storage. It is not shared with other apps.
- Data goes to one place: the Herald endpoint you configure. The SDK sends nothing to data brokers or ad networks.
Apple's definition of tracking covers linking data from your app with data from other companies' apps, websites or offline properties for advertising or measurement, and sharing data with data brokers. Whether your app as a whole tracks depends on everything else it does with data, including what you sync into Herald from your warehouse. That decision is yours; the SDK's part in it is described above.
The privacy manifest
HeraldSDK ships a PrivacyInfo.xcprivacy file as a resource of the library. Xcode includes it in your app's bundle and in the privacy report you generate from an archive (Product > Archive, then Generate Privacy Report in the Organizer).
| Key | Value |
|---|---|
NSPrivacyTracking | false |
NSPrivacyTrackingDomains | Empty |
NSPrivacyAccessedAPITypes | Empty: the SDK uses none of Apple's required-reason APIs |
NSPrivacyCollectedDataTypes | The nine types below |
No type is declared as used for tracking. Eight types are linked to the user with the purposes App Functionality and Analytics. Crash data is not linked, with the purpose App Functionality only.
| Declared type | Linked | Tracking | Purposes | Why |
|---|---|---|---|---|
NSPrivacyCollectedDataTypeDeviceID | Yes | No | App Functionality, Analytics | The SDK's random device ID |
NSPrivacyCollectedDataTypeUserID | Yes | No | App Functionality, Analytics | The External ID you pass to identify |
NSPrivacyCollectedDataTypeProductInteraction | Yes | No | App Functionality, Analytics | Sessions, screens, events and message interactions |
NSPrivacyCollectedDataTypeOtherUsageData | Yes | No | App Functionality, Analytics | Custom attributes and event properties |
NSPrivacyCollectedDataTypeEmailAddress | Yes | No | App Functionality, Analytics | When you call setEmail |
NSPrivacyCollectedDataTypePhoneNumber | Yes | No | App Functionality, Analytics | When you call setPhone |
NSPrivacyCollectedDataTypePurchaseHistory | Yes | No | App Functionality, Analytics | When you call trackPurchase |
NSPrivacyCollectedDataTypePreciseLocation | Yes | No | App Functionality, Analytics | When you call setLocation, or geofence crossings from HeraldGeofence |
NSPrivacyCollectedDataTypeCrashData | No | No | App Functionality | When you turn on crashReports: MetricKit crash and hang reports |
The manifest declares every type the SDK can send, including the five that depend on calls or settings your app may never use. If your app does not use setEmail, setPhone, trackPurchase, setLocation or crashReports, those types are not collected through the SDK. Your App Store privacy answers should reflect what your app actually sends; see App store disclosures.
HeraldUI and HeraldNotificationService collect nothing themselves and use no required-reason APIs, so they ship without a manifest of their own. HeraldGeofence (0.7.0, not released yet) ships without one too: the geofence events it sends are covered by HeraldSDK's location entry, which every app that uses it links, and it uses no required-reason APIs. It links CoreLocation; your app supplies the location purpose strings in Info.plist and asks for permission.
Android
Android has no privacy manifest. herald-core adds three permissions to your merged manifest:
| Permission | Why |
|---|---|
INTERNET | Sending batches and syncing messages |
ACCESS_NETWORK_STATE | Reporting the network type in the device context |
POST_NOTIFICATIONS | Showing push notifications on Android 13 and later. The prompt appears only when you call requestPushAuthorization. |
The SDK does not use the advertising ID and does not depend on Google Play services ads libraries. herald-fcm depends on Firebase Cloud Messaging for push. herald-geofence (0.7.0, not released yet) depends on Play Services location and adds no permissions: your app declares and requests ACCESS_FINE_LOCATION and ACCESS_BACKGROUND_LOCATION itself.