shutdown method

void shutdown(
  1. bool deleteData
)

Shut down the SDK and optionally delete all local SDK data.

NOTE: Care should be taken when using this method as deleting the SDK data will make it reset back to a first install state.

Implementation

void shutdown(bool deleteData) {
  // Listeners
  _initCompletedCallback = null;
  // Registered values
  _registeredAndroidAppGuid = null;
  _registeredIosAppGuid = null;
  _registeredPartnerName = null;
  // Native
  _invokeChannel("shutdown", deleteData);
}