setDeviceToken method

Future<bool> setDeviceToken(
  1. String token
)

Pass the device push token to the SDK.

This method should be called when you receive a push token from the platform's push notification service.

Parameters:

  • token - The device push token

Returns true if the token was set successfully, false otherwise.

Implementation

Future<bool> setDeviceToken(String token) {
  throw UnimplementedError('setDeviceToken() has not been implemented.');
}