Disabling data collection for Android/FireOS
In order to comply with data privacy regulations, data tracking activity on the Android SDK can be stopped entirely using the method
disableSDK(). This method will cause all network connections to be canceled, 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
enableSDK() method in the future to resume data collection.
Additionally, you can use the method
wipeData() to fully clear all client-side data stored on the device.