In case of successful update, if it was triggered by event other than CalledActivate, updatedCallback: with no error should be called.
Currently only updateFailedCallback: called in case of update error. But now on iOS it's needed to inform a user about successful location device token update.
RSH3e2 On event RegistrationSynced:
RSH3e2b If the machine is in state WaitingForRegistrationSync as a result of a CalledActivate event, make Push#activate return or call its callback with no error.
RSH3e2a Transitions to WaitingForNewPushDeviceDetails.
RSH3e3 On event SyncRegistrationFailed:
RSH3e3c If the machine is in state WaitingForRegistrationSync as a result of a CalledActivate event, make Push#activate return or call its callback with the error.
RSH3e3a Otherwise, calls the updateFailedCallback provided to Push#activate with the error.
RSH3e3b Transitions to AfterRegistrationSyncFailed.
In case of successful update, if it was triggered by event other than
CalledActivate
,updatedCallback:
with no error should be called.Currently only
updateFailedCallback:
called in case of update error. But now on iOS it's needed to inform a user about successful location device token update.Specs RSH3e2 and RSH3e3