@Engineer
Thank you for your previous response.
We re-verified the behavior, and it appears that the device token that was active before the app was uninstalled is still valid. As a result, two push notifications were delivered to the same device.
If you can share the apns-id of two such notifications sent and received (within the last couple of days), we can double check, but what you are describing should not be possible.
As requested, I am sharing the details below.
Notification sent to the latest token (obtained after reinstalling the app)
Request
curl -v --http2 \
--cert cert.p12: \
--cert-type P12 \
-H "apns-topic: {{bundle_id}}" \
-H "apns-push-type: alert" \
-d '{"aps":{"alert":"test1"}}' \
https://api.sandbox.push.apple.com/3/device/{{latest_token}}
(timestamp: 2026-03-13T04:37:20Z)
APNs response
apns-id: 9963707F-7469-1CB3-231A-66B9EC9CFEB3
Xcode log when the notification was received in the foreground (real device)
- - - Push Payload Start - - -
Push received timestamp: 2026-03-13T04:37:24Z
[AnyHashable("aps"): {
alert = test1;
}]
- - - Push Payload End - - -
Notification sent to the old token (obtained before uninstalling the app)
Request
curl -v --http2 \
--cert cert.p12: \
--cert-type P12 \
-H "apns-topic: {{bundle_id}}" \
-H "apns-push-type: alert" \
-d '{"aps":{"alert":"test2"}}' \
https://api.sandbox.push.apple.com/3/device/{{old_token}}
(timestamp: 2026-03-13T04:37:26Z)
APNs response
apns-id: 113436F8-5E1D-F9A3-D919-A08BCDB59608
Xcode log when the notification was received in the foreground (real device)
- - - Push Payload Start - - -
Push received timestamp: 2026-03-13T04:37:28Z
[AnyHashable("aps"): {
alert = test2;
}]
- - - Push Payload End - - -
Both notifications were received on the same device.
Could you please help confirm whether this behavior is expected?