disableSdk

Disables the Braze SDK. This call persists across Braze SDK instances until Braze.enableSdk is called.

Any in-flight actions such as event logging, data syncing, etc. will be dropped and not retried as a result of this call.

Any stored instances of Braze should not be used. A new instance of Braze.getInstance should be obtained after this call.

All network requests for subsequent invocations of the Braze SDK (including new instances) will be offline. To re-enable network requests and Braze SDK functionality, call Braze.enableSdk.

Please note that invoking this method may result in disk reads due to SharedPreference accesses so calling this method from a background thread may be preferred.