setAndroidPushConfig static method
设置推送配置(Android 第三方推送配置)
pushConfig
推送配置
Implementation
static Future<void> setAndroidPushConfig(PushConfig pushConfig) async {
if (!Platform.isAndroid) return;
Map paramMap = MessageFactory.instance!.pushConfig2Map(pushConfig);
return _channel.invokeMethod(RCMethodKey.SetAndroidPushConfig, paramMap);
}