2

My QA team found that our push notifications to GCM aren't working on devices running 8.0 and 9.0 but still seem to working on the 5.x and 6.x test devices no problem.

The response from the GCM server seems fine for all pushes being sent out and I see no errors on the newer devices.

I know GCM is being deprecated but Google says that isn't until at least April 2019.

We have conversion to FCM on the schedule but there hasn't been time to do that yet.

Any thoughts, thanks.

draksia
  • 2,371
  • 2
  • 20
  • 25
  • While creating notification, have you set channel id? – Nabin Bhandari Sep 05 '18 at 17:42
  • 1
    What Android API is your target when GCM doesn't work? – Morrison Chang Sep 05 '18 at 17:46
  • 3
    Right from the GCM doc's `If you're targeting Android 8.0 (API level 26) or higher in your app development, use Firebase Cloud Messaging (FCM). Otherwise, use the JobIntentService class instead of the IntentService to handle token refreshes.` – tyczj Sep 05 '18 at 17:47
  • So far it appears API 21 and earlier work correctly, 22 and later do not. We are targeting 26. – draksia Sep 05 '18 at 17:47

0 Answers0