setupAfterHotRestart method

void setupAfterHotRestart()

Use this method to initialize the plugin after hot restart. Please check isActivated before calling this method. Don't use this method in release builds.

Implementation

void setupAfterHotRestart() {
  AdaptyLogger.write(AdaptyLogLevel.verbose, 'Adapty.setupAfterHotRestart()');
  _channel.setMethodCallHandler(_handleIncomingMethodCall);
}