If your application logs indicate successful registration with Pushwoosh (e.g., a '200 OK' status for the /registerDevice
call) but notifications are not appearing on your iOS device, the most common reason is that notification permissions have not been granted for your app on the device itself.
Here's what to check:
-
Device Notification Settings:
- On your iOS device, go to Settings > Notifications.
- Scroll down and find your application in the list.
- Tap on your app's name and ensure that Allow Notifications is turned ON.
- Also, check that alert styles (Lock Screen, Notification Center, Banners) are enabled as desired, and that features like Scheduled Summary are configured according to your preferences.
-
Initial Permission Prompt:
- iOS applications must explicitly ask the user for permission to send push notifications, usually on the first app launch after installation. If this prompt was dismissed or 'Don't Allow' was selected, notifications will be disabled by the operating system for your app.
-
Check 'Push Alerts Enabled' Tag (Optional Diagnostic):
- In the Pushwoosh Control Panel, you can navigate to the User Explorer for your application and find the specific device. Check the value of the 'Push Alerts Enabled' tag (or a similar system tag indicating notification permission status).
- If it's 'false' or '0', it confirms that the OS-level setting is disabling alerts for your app on that device.
-
Reinstall (If Necessary to Re-trigger Prompt):
- If you're unsure about the permission status or want to re-trigger the permission prompt, you can try deleting the app completely from your device and then reinstalling it. This will typically cause the notification permission prompt to appear again on the first launch.
Additional Considerations:
- Correct Gateway: Ensure your Pushwoosh project configuration in the control panel (e.g., using a Sandbox or Production APNs certificate/key) matches the build type of your app. For instance, a development build of your app should typically register with the APNs sandbox gateway, while a TestFlight or App Store build uses the production gateway. Sending a sandbox push to a production-registered device (or vice-versa) will not work.
- Focus Mode/Do Not Disturb: Check if any Focus modes (like Do Not Disturb) are active on the device that might be suppressing notifications from your app.
If you've checked all these points and are still facing issues, refer to the Pushwoosh documentation for detailed logging and troubleshooting steps for iOS: Collecting logs, HWID and Push Token from a device.
Comments
0 comments
Please sign in to leave a comment.