updatePushNotificationToken method

  1. @override
Future<void> updatePushNotificationToken(
  1. String token
)
override

Register a push notification token with the Zendesk SDK.

On Android, this should be the FCM token. On iOS, this should be the APNs device token (as a hex string).

Implementation

@override
Future<void> updatePushNotificationToken(String token) async {
  await methodChannel.invokeMethod<void>(
    'updatePushNotificationToken',
    {'token': token},
  );
}