Privacy¶
The SDK sends data to PlingBuddy, the hosted notification service, at the configured baseUrl (by default https://app.plingbuddy.com/). The service processes it on your behalf, as a service provider, to deliver your app's notifications.
Collected automatically¶
Once initialize is called:
| Data | Sent as |
|---|---|
| Installation id, a random id the SDK makes for this install | the request path, installation_id |
| APNs device token | provider_token |
| App version | app_version |
| OS name and version | operating_system, operating_system_version |
| Whether notifications are allowed | is_subscribed |
APNs environment (sandbox or production) |
environment |
| What happened to the service's notifications, app opens, permission changes, token refreshes | Events |
Country, language and time zone, only with fetchLocaleAndTimezone: true |
country, language, timezone |
All of it is linked to the recipient and never used for tracking. The events are also used for analytics: the dashboard's numbers on how your notifications are received and opened.
Provided by your app¶
The external id, everything in RecipientData (email, country, language, time zone, metadata, notification preference), tags and device properties. You decide whether to send these, so you declare them. With fetchLocaleAndTimezone: true the country, language and time zone count as collected by the SDK instead.
App Store privacy details¶
The SDK ships privacy manifests (PrivacyInfo.xcprivacy) that declare the automatically collected data:
- The installation id and the push token as Device ID.
- The events of what the user did (opened a notification or the app, changed the permission) as Product Interaction, and the delivery receipts (received, shown, hidden) and token refreshes as Other Usage Data.
- The rest as Other Data Types, including the country, language and time zone
fetchLocaleAndTimezonesends. They're the device's settings, not where it is, so they aren't Coarse Location. - All linked to the user and not used for tracking. Everything is for App Functionality; the events also for Analytics.
The SDK uses no required-reason API. The extension's module ships its own manifest, with the received event as Other Usage Data. Xcode includes them in the app's privacy report. Add the app-provided data you send to your app's own privacy details, for example Email Address or User ID.
Users can have this data deleted: deleteRecipient erases it on the service.
Kept on the device¶
- The state file: one file in a directory of its own, in the App Group, or else in Application Support. It holds the installation id and its secret, the configuration, the user and the data waiting to be sent.
- The directory is excluded from backup.
- The file is readable after the first unlock.
- It's never in
UserDefaultsor the keychain. A device-to-device transfer can still copy it, so the SDK notices a file made on another phone and starts a new installation, never using that phone's.
- Events wait in the same container until they're sent, for at most 30 days.
- The SDK also remembers which notifications it reported as shown.
The installation's secret is a credential that only leaves the device in requests to the service, and isn't declared as collected data. identifierForVendor, which the SDK keeps to notice a state file copied from another phone, is never sent, nor declared.
Both PlingBuddy URLs use https, so the data is encrypted in transit; the SDK refuses plain http except for a local development backend.
Your privacy policy¶
Your app's privacy policy should say that this data is sent to PlingBuddy, the hosted notification service, which processes it on your behalf to deliver the app's notifications. With fetchLocaleAndTimezone: true, also name the country, language and time zone. Today the service stores them with the recipient and shows them to you in its dashboard; it doesn't yet use them to choose which notifications a user gets or when. Describe that use in your policy once you rely on it.