customer-android-kotlin

//core/com.kustomer.core.providers/KusPushRegistrationProvider/registerDeviceToken

registerDeviceToken

[androidJvm]
abstract suspend fun registerDeviceToken(deviceToken: String?): KusResult<Boolean>

Registers with a push registration service to register the device token to receive push notifications. Stores the device token locally in SharedPreferences

Return

KusResult.Success of type Boolean or KusResult.Error with KusApplicationException

Parameters

androidJvm

   
deviceToken The device identifier