Hey there, i created a independent Watch OS app and I configure push notification there.
so on watch simulator I am able to get push notification every time.
but today I test watch app to my real watch series 6 WatchOS 11. I got the permission alert I allowed it, and I am able to get the device token as well now if I try to send push notification to my real watch app I get this logs.
Oct 22, 2024, 11:09:12.024 AM GMT+5 received by APNS Server
Oct 22, 2024, 11:09:12.334 AM GMT+5 discarded as application was not registered
why is that ? is there any body know's ? why i am not receiving remote notification on my real watch instead i get that my application is not register...
We are also seeing this as the token is not valid on the device.
Are you certain you are using the latest token returned by the app? When you delete and install a new version of an app, the token will change. During debugging sometimes it gets difficult to keep track of whether you have updated in place or deleted/cleaned the build, etc.
Can you try deleting the app, installing a fresh build, and make sure the token you get from that version is the one you are using.