enqueueUpdatePushToken

suspend fun enqueueUpdatePushToken(context: Context, pushToken: String): Boolean

Enqueue an update push token work request with fallback to direct API call

Return

true if successful (either enqueued or direct API call succeeded), false otherwise

Parameters

context

Application context for fallback API call

pushToken

Push notification token to be updated