If your segment for "Platform is iOS" shows zero users despite having an active iOS user base, it is typically because the devices have not been properly registered for push notifications.
The "Platform" tag is only assigned to a device after it successfully registers with Apple Push Notification Service (APNs) and receives a valid push token. This issue often stems from a mismatch between your application's build environment and your Pushwoosh platform settings.
For example, if your application is a production build (e.g., distributed via the App Store) but your Pushwoosh iOS platform is configured to use the APNs Sandbox gateway, APNs will reject the registration request. As a result, no push token will be generated, and the device will not be tagged with the "iOS" platform, making it invisible to your segment.
How to resolve this issue:
- Check your Pushwoosh iOS Platform Configuration: Navigate to your project's iOS platform settings in the Pushwoosh Control Panel.
- Match the APNs Gateway to Your App Build:
- For a production app live on the App Store, ensure the APNs Gateway is set to Production.
- For a development or test build, it should be set to Sandbox.
- Verify Your Certificate/Key: Ensure you are using the correct push certificate (.p12) or key (.p8) that corresponds to the selected APNs environment.
Note for In-App Message Users: Even if you only plan to use In-App Messages and not send push notifications, your devices must still be properly registered for push notifications to be correctly segmented by platform. You can register devices for notifications without displaying the standard iOS permission prompt to the user until you are ready to send pushes.
Comments
0 comments
Please sign in to leave a comment.