bindPhoneNumber method
绑定手机号码
Implementation
@override
Future<Map<dynamic, dynamic>> bindPhoneNumber(String phone) async {
if (!Platform.isAndroid) {
return {
'code': kAliyunPushOnlyAndroid,
'errorMsg': 'Only support Android',
};
}
Map<dynamic, dynamic> result =
await methodChannel.invokeMethod('bindPhoneNumber', {'phone': phone});
return result;
}