update

abstract fun update(registrationToken: String)

Updates the Native OS push registration ID.

Arguments:

  • new_token - the new Native OS push registration ID

Errors

Return an error in the following cases:

  • The PushManager does not contain a valid UAID

  • An error occurred sending an update request to the autopush server

  • An error occurred accessing the PushManager's persisted storage