turnOnIOSDebug method
- @Deprecated("This method is deprecated in the AlicloudPush iOS SDK.")
- @override
override
开启 iOS debug 日志
Implementation
@Deprecated("This method is deprecated in the AlicloudPush iOS SDK.")
@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;
}