Posts

Post not yet marked as solved
7 Replies
3.2k Views
After setting up a new independent WatchOS6 app, which now supports push notifications, getting the device to request the user for push notifications and capturing the push token. I can’t get my server to send a push notification.With all the correct credentials and P8 set up on my NodeJS server, I have tried to push messages to the device... This is the error all the time:Status 400 - DeviceTokenNotForTopic - Which according to Apple’s documentation, means that the Topic (Bundle Identifier of the app) is wrong. But in this case it is not. I have tried tht the main Bundle Identifier, the .watchkitapp Identifier and the watchkitapp.extension IdentifierHow do I successfully send a push to a Independent WatchOS app with APNs?———To test the node service, a further 2 tests have been made:Created a new app, iOS this time, with the same Bundle Identifier, using the pushToken and sending a message the service was successfulCreated a new app, another watchOS, with a different Bundle Identifier, this was again rejected but the APNs for the same DeviceTokenNotForTopic issue.Tested both in production and sandbox with the same issues.
Posted
by zappidev.
Last updated
.