setLicence method

Future<void> setLicence(
  1. String licenceUrl,
  2. String licenseKey
)

配置 美颜License,licenceUrl必须使用https,否则ios下回下载失败

参数:

licenceUrl 下载url 和 key。授权 License 请根据 美颜特效 SDK 购买流程 获取。

Implementation

Future<void> setLicence(String licenceUrl, String licenseKey) {
  return _channel.invokeMethod(
      'setLicence', {"licenceUrl": licenceUrl, "licenseKey": licenseKey});
}