Prompt
How do I troubleshoot push notifications not being received?
Latest observation
Oct 13, 2026
OpenAI APIWeb search: off
Here’s a practical checklist for troubleshooting push notifications not being received:
1) Confirm the app is actually registering for notifications
- Make sure the app requests notification permission.
- Check that the device token is being generated successfully.
- Verify the token is being sent to your backend and stored correctly.
2) Check user/device permissions
- On iOS/Android, confirm notifications are enabled for the app in system settings.
- Ensure Do Not Disturb / Focus modes aren’t suppressing alerts.
- If your app supports notification categories/channels, make sure the channel is enabled and not blocked.
3) Verify the backend is sending correctly
- Confirm the message is being sent to the right token/device.
- Check for expired or invalid tokens.
- Inspect API response codes from APNs/FCM/your push provider for errors.
- Make sure the payload matches platform requirements.
4) Inspect payload structure
- Include the correct fields for the platform:
- iOS/APNs:
aps, alert/sound/badge as appropriate - Android/FCM: notification vs data payloads, priority, channel ID
- iOS/APNs:
- Ensure the payload isn’t malformed and is within size limits.
5) Check environment mismatch
- Make sure you’re using the right push environment:
- iOS sandbox vs production
- Correct Firebase project / APNs key
- A common issue is sending a sandbox token via production, or vice versa.
6) Examine app-side handling
- If the app is in the foreground, some platforms don’t show notifications automatically.
- Verify your app code handles foreground presentation correctly.
- Check for notification handlers that may be suppressing display.
7) Look at OS/device-specific issues
- Low power mode, background restrictions, battery optimization, or restricted background activity can interfere.
- On Android, confirm the notification channel importance isn’t set too low.
- On iOS, confirm remote notifications/background modes are configured properly if needed.
8) Test with a minimal payload
Send a simple test notification:
- Basic title/body
- No custom data
- High priority if appropriate
If that works, the issue is likely in your custom payload or app logic.
9) Check logs and delivery reports
- Review device logs:
- iOS: Xcode console / device logs
- Android: Logcat
- Review server logs and push provider dashboards.
- If using Firebase Cloud Messaging, check delivery metrics where available.
10) Reproduce across devices and networks
- Test on multiple devices and OS versions.
- Try different network conditions (Wi‑Fi vs cellular).
- Reinstall the app to refresh permissions and tokens.
If you want, I can give you a platform-specific troubleshooting guide for iOS, Android, or Firebase/APNs, or help you debug a specific error/log.