The TopicDisallowed error from Apple's Push Notification service (APNs) typically indicates a mismatch between your app's build environment and the gateway setting in your Pushwoosh configuration.
Apple provides two distinct environments:
- Sandbox: For development and testing builds (e.g., apps run directly from Xcode).
- Production: For apps distributed through TestFlight or the App Store.
To fix this, ensure the gateway selected in your Pushwoosh iOS platform configuration matches your app's build type.
- Go to your Pushwoosh Control Panel.
- Select your application and navigate to the iOS platform configuration page (you may need to click Edit or Reconfigure).
- During the setup, you will be asked to choose a Gateway.
- Select Production if your app is an App Store or TestFlight build. Select Sandbox only for development builds.
- Save the new configuration.
After correcting the gateway, your push notifications should be delivered successfully to the corresponding app builds.
Comments
0 comments
Please sign in to leave a comment.