The DeviceTokenNotForTopic
error is specific to iOS (APNs) and indicates a mismatch between the push certificate used to send the notification and the environment of the application build installed on the receiving device.
Common causes include:
- Sending a push using a Production push certificate to a device running a Development or Ad Hoc build of your app.
- Sending a push using a Development push certificate to a device running a Production (App Store or TestFlight) build of your app.
To resolve this, ensure:
- The correct type of push certificate (Development or Production) is uploaded to your Pushwoosh application settings, matching the environment you are targeting.
- The devices you are sending notifications to have the corresponding build type installed (e.g., Development builds for Development certificate pushes, Production builds for Production certificate pushes).
Comments
0 comments
Please sign in to leave a comment.