Disabling Data Collection

In order to comply with data privacy regulations, data tracking activity on the iOS SDK can be stopped entirely using the method disableSDK. This method will cause all network connections to be cancelled, and the Braze SDK will not pass any data to Braze’s servers. If you wish to resume data collection at a later point in time, 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/app run 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.

WAS THIS PAGE HELPFUL?