voIpRegistrationForIOS method

Future<bool> voIpRegistrationForIOS()

ios注册 voip 推送服务

Implementation

Future<bool> voIpRegistrationForIOS() async {
  if (!_isIOS) return false;
  final bool? state = await _channel.invokeMethod<bool?>('voipRegistration');
  return state ?? false;
}