Post

Replies

Boosts

Views

Activity

iOS 16 Beta Live Activities Push Notification DeviceTokenNotForTopic
Hello, I created a demo app for iOS 16 Live Activities through ActivityKit. I experienced an issue about update or ending an activity by Push Notification. I use pushToken data of activity to update. I got the error below. How can I solve the issue? Many thanks in advance! {"reason":"DeviceTokenNotForTopic"} And this is the APNS curl. curl -v -d '{ "aps": { "timestamp": 1659466849, "event": "end", "content-state": { "courierName": "Anne Johnson", "deliveryTime": 1659466849 } }, "aditional-info": "Test" }' -H "apns-topic: com.batikan.LiveActivityKit" -H "apns-priority: 10" --http2 --cert certificate-and-privatekey.pem https://api.sandbox.push.apple.com/3/device/809674441f3f54310651052594a78bea3abdf8a4a56ac4d42786aae49d694122df83cd691adc480ae4c0ba198565bb0b111a2d69ca0a0e491caa0f2471938ebdca387556c06ed1d1c4eb2faf62f7669e
5
1
3.6k
Aug ’22