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?
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.