start method

Future<void> start()

Implementation

Future<void> start() async {
  if (Platform.isAndroid) {
    TalsecChannels.configMethodChannel.invokeListMethod('getConfig', {
      'expectedPackageName': config.expectedPackageName,
      'expectedSigningCertificateHash': config.expectedPackageName,
      'watcherMail': config.watcherMail,
      'supportedAlternativeStores': config.supportedAlternativeStores
    });
    return;
  }

  //iOS device
  TalsecChannels.configMethodChannel.invokeListMethod('getConfig', {
    'appBundleId': config.appBundleId,
    'appTeamId': config.appTeamId,
    'watcherMail': config.watcherMail,
  });
}