Live Activity: no value in pushTokenUpdates and pushToStartTokenUpdates not called after app restart

When running application after installation I get a value in pushTokenUpdates and also the call to pushToStartTokenUpdates returns with the token value.

But, if I kill the app and restart it again, there is no value in pushTokenUpdates and the call to pushToStartTokenUpdates does not return.

Am I suppose to use the push to start token from the previous application run?

is there a different solution?

Answered by Engineer in 857142022

Occasionally, at app start, due to a potential timing issue when observing token updates token updates may be empty. This is fixed in iOS 26.

On earlier iOS versions, we are suggesting to check Activity.pushToStartToken after a short delay once you start to await for the tokens, to cover any timing related issues.

Accepted Answer

Occasionally, at app start, due to a potential timing issue when observing token updates token updates may be empty. This is fixed in iOS 26.

On earlier iOS versions, we are suggesting to check Activity.pushToStartToken after a short delay once you start to await for the tokens, to cover any timing related issues.

Live Activity: no value in pushTokenUpdates and pushToStartTokenUpdates not called after app restart
 
 
Q