Common questions about GDPR and handling data with OneSignal
support@onesignal.com
with each of your app’s OneSignal App ID and first 5 digits of your REST API key for verification.
sendEmail
method, or if you send us the user’s phone number using sendTags
, you must make sure you have all necessary consent to do so.
Some data is automatically collected by the OneSignal SDK. For example, on mobile devices, this typically includes the device’s advertising id, purchases they have made in your app, the timezone setting of the device, and location data (if your app has location permission). A complete list of automatically-collected information is available here: Data Collected by the OneSignal SDK.
Each of these fields can be customized by modifying our SDK code to exclude the field, or using helper methods such as setLocationShared(false)
. Instructions and examples on each of these methods is available below.
true
, your application will need to call provideConsent(true)
before the OneSignal SDK gets fully initialized.
Until this happens, you can continue to call methods (such as sendTags()
), but nothing will happen.
The consent setting is persisted between sessions. This means that your application only ever needs to call provideConsent
a single time, and the setting will be persisted (remembered) by the SDK.
SDK | Method |
---|---|
Android Native | setRequiresUserPrivacyConsent |
iOS Native | setRequiresUserPrivacyConsent |
Unity | setRequiresUserPrivacyConsent |
Cordova/Ionic/PhoneGap/Intel XDK | setRequiresUserPrivacyConsent |
Xamarin | setRequiresUserPrivacyConsent |
React Native | setRequiresUserPrivacyConsent |
Web Push | requiresUserPrivacyConsent property set in the init code. |
SDK | Method |
---|---|
iOS Native | setLocationShared |
Android Native | setLocationShared |
Unity | setLocationShared |
Xamarin | setLocationShared |
Cordova | setLocationShared |
Ionic | setLocationShared |
Phonegap | setLocationShared |
Intel XDK | setLocationShared |
React Native | setLocationShared |
Web Push | Never sends Location |