registerDeviceToken method
Register a new device token with Customer.io, associated with the current active customer. If there is no active customer, this will fail to register the device
Implementation
@override
void registerDeviceToken({required String deviceToken}) async {
try {
final payload = {
TrackingConsts.token: deviceToken,
};
methodChannel.invokeMethod(MethodConsts.registerDeviceToken, payload);
} on PlatformException catch (exception) {
handleException(exception);
}
}