voiceVoipToken method

  1. @override
Future<String?> voiceVoipToken()
override

The device's APNs VoIP (PushKit) token, registered with the Voice control plane so a killed app can be rung. Null off iOS / before the token arrives.

Implementation

@override
Future<String?> voiceVoipToken() async {
  try {
    return await methodChannel.invokeMethod<String>('voiceVoipToken');
  } catch (_) {
    return null;
  }
}