reset method

void reset()

Resets the SDK singleton to an uninitialized state.

This is primarily used for testing or re-configuring the SDK. It does not clear persistent data from storage; call clearData for that.

Implementation

void reset() {
  _config = null;
  _networkManager = null;
  _attributionManager = null;
  _attributionContext = null;
  _eventTracker = null;
  _deepLinkHandler = null;
  _isInitialized = false;
  _instance = null;
  LinkFortyLogger.log('SDK reset to uninitialized state');
}