Thank you for your post. There are a few details that need clarification. Could you please provide the iOS version you are using? Additionally, how do you ascertain that the app is not receiving the token? A more detailed description of how to initiate the activity or if the user initiates the activity would be greatly appreciated.
Do you have logs on these method to see if gets called? On the TASK I would add some logs to see when it gets called.
https://developer.apple.com/documentation/activitykit/starting-and-updating-live-activities-with-activitykit-push-notifications
Additionally, it is crucial to trace the issue if possible. Kindly provide me with the following information for a failed notification:
- The precise time and date (including the time zone) of the push notification.
- The public IPv4 address of the server that sent the push notification.
- The push topic (apns-topic header value).
- The app’s Bundle ID.
- The device token.
- The apns-id if it is set.
- The full contents of the headers and the payload.
- Any logging from the server side that demonstrates the interaction with the server and APNs.
Please go to https://developer.apple.com/bug-reporting/profiles-and-logs/
And follow the instructions for APNS (Apple Push Notification Service) to install a logging profile on your device.
Hope this helps.
Albert Pascual
Worldwide Developer Relations.