checkAndroidPushChannelStatus method
Android 查询推送通道状态
Implementation
@override
Future<Map<dynamic, dynamic>> checkAndroidPushChannelStatus() async {
if (!Platform.isAndroid) {
return {
'code': kAliyunPushOnlyAndroid,
'errorMsg': 'Only support Android',
};
}
Map<dynamic, dynamic> result =
await methodChannel.invokeMethod('checkPushChannelStatus');
return result;
}