setPushToken method

Future<void> setPushToken(
  1. String token
)

Manually synchronizes the current push token with Reteno.

This is primarily intended for custom Firebase Messaging integrations. In iOS FCM-only setups, pass the FCM registration token after initialize and whenever Firebase refreshes it. Supplies an application-managed push token.

On iOS this is the token source for RetenoDeviceTokenHandlingMode.external. Pass an FCM token, not an APNs token, after initialization and whenever Firebase refreshes it.

Implementation

Future<void> setPushToken(String token) {
  return _platform.setPushToken(token);
}