Common reasons why Mobile Push notifications are not showing on your device.
event. preventDefault()
which will block the notification from showing while the app is open.
While testing, make sure the app is in the background or closed to verify this is not blocking notifications.
event.preventDefault()
method. Check your code to see if this is being used and under what conditions.
removeAllDeliveredNotifications()
method to remove all your app’s delivered notifications from the Notification Center. See Apple’s developer docs on removeAllDeliveredNotifications()
.
Image shows the category disabled for your app on the device, so when sending with that category, the device will not receive this push.
High priority messages on Android are meant for time sensitive, user visible content, and should result in user-facing notifications. If FCM detects a pattern in which messages do not result in user-facing notifications, your messages may be deprioritized to normal priority or delegated for handling by Google Play Services.
support@onesignal.com
with the following information:
stopped=false
if everything is fine, otherwise you will see stopped=true
then your app was force killed in some way.
Another way is to send a few notifications and check for the following GCM logcat entry.