AppboyKit (also known as the Objective-C SDK) is no longer supported and has been replaced by the Swift SDK. It will no longer receive new features, bug fixes, security updates, or technical support—however, messaging and analytics will continue to function as normal. To learn more, see Introducing the New Braze Swift SDK.
Disabling data collection for iOS
To comply with data privacy regulations, data tracking activity on the iOS SDK can be stopped entirely using the disableSDK
method. This method will cause all network connections to be canceled, and the Braze SDK will not pass any data to our servers. If you wish to resume data collection later, you can use the requestEnableSDKOnNextAppRun
method in the future to resume data collection.
Additionally, you can use the method wipeDataAndDisableForAppRun
to fully clear all client-side data stored on the device.
Unless a user uninstalls all apps from a vendor on a given device, the next Braze SDK and app runs after calling wipeDataAndDisableForAppRun()
will result in our server re-identifying that user via their device identifier (IDFV). In order to fully remove all user data, you should combine a call to wipeDataAndDisableForAppRun
with a request to delete data on the server via the Braze REST API.
iOS SDK v5.7.0+
For devices using iOS SDK v5.7.0 and above, when disabling IDFV collection, calling wipeData
will not result in our server re-identifying that user via their device identifier (IDFV).