GCM push notifications do not enter sleep mode on devices based on FlymeOS

In our application, we use the Push Push notification service, which is based on GCM.

In recent weeks, we have encountered a problem that in some devices, the push notification we send does not arrive when the device is in sleep mode. In many cases, we had to wake the device and send an additional impulse, and only then it would arrive.

After a big investigation, we discovered this suspicious log: W / GCM-DMM: Forcibly Unlocking GOOGLE_C2DM Lock

This log appears whenever a push notification fails.

This seems to be happening on FlymeOS-based devices (Meizu, Xiaomi ..). Other devices get jolts. We always ship them with high priority.

We will be grateful for any advice you can give us or any information on why this c2dm blocker is released and how to prevent it.

Thanks in advance, Mor

+4
source share

Source: https://habr.com/ru/post/1654841/


All Articles