turnOnIOSDebug method
开启 iOS debug 日志
Implementation
@override
Future<Map<dynamic, dynamic>> turnOnIOSDebug() async {
if (!Platform.isIOS) {
return {
'code': kAliyunPushOnlyIOS,
'errorMsg': 'Only support iOS',
};
}
Map<dynamic, dynamic> result =
await methodChannel.invokeMethod('turnOnDebug');
return result;
}