0

When we try to send push notifications to android users using GCM, some users are not getting the push notification but when we troubleshoot the message id, it is showing Acknowledged from the Client app to GCM but not showing on their Notification Drawer.

Please help us to resolve this problem.

1 Answers1

2

There are various reasons that this is happening. You might need to make sure that your GCM setup is configured properly as stated in this SO thread:

  1. Make sure you've set your SENDER ID you've received from Google correctly.
  2. Make sure your device was registered with Google's GCM service correctly.
  3. Make sure you are sending the push to the correct reg id you've received from Google. and that you didn't receive an error from Google GCM service.
  4. Have you set the delay_while_idle = 1? This means the message won't reach the device if it's idle (off, offline, locked screen, etc...).
  5. Change it to delay_while_idle = 0 if you want your wakelock permission to make any difference. Please read more here.
  6. Some times it takes time for the push to arrive (but never too much time, then there is a problem). Check what's the "time to live" of the push you've sent.

Also worth checking is this blog which tries to address the same question. Here are the outlined reasons:

  1. Notifications can be blocked by User at OS Level
  2. Device specific issues
  3. User Not connected to GCM due to Network issues
  4. Time to Live expires before notification delivery
  5. Gap from GCM in marking token as in-active
Community
  • 1
  • 1
ReyAnthonyRenacia
  • 17,219
  • 5
  • 37
  • 56