setUpHelpShiftSDK static method

dynamic setUpHelpShiftSDK({
  1. required dynamic helpShiftApiKey,
  2. required dynamic helpShiftAppId,
  3. required dynamic helpShiftDomain,
})

call this method to setup HelpShift SDK in Native Platform with arguments helpShiftApiKey,helpShiftDomain and helpShiftAppId you will get in your HelpShift Account Dashboard

Implementation

static setUpHelpShiftSDK(
    {required helpShiftApiKey,
    required helpShiftAppId,
    required helpShiftDomain}) async {
  var status = await _channel.invokeMethod(
    Methods.methodConfigureSdk,
    {
      'helpShiftApiKey': helpShiftApiKey,
      'helpShiftAppId': helpShiftAppId,
      'helpShiftDomain': helpShiftDomain
    },
  );
  if (kDebugMode) {
    print("configuration status: $status");
  }
  return status;
}