GCM not waking up device

后端 未结 3 988
不思量自难忘°
不思量自难忘° 2021-02-20 00:27

I developing a GCM application. Everything works fine when the device is not idle (i.e. sleeping by pressing the power button). However, when I send the message when the device

3条回答
  •  借酒劲吻你
    2021-02-20 01:11

    delayWhileIdle=false

    delay_while_idle : If included, indicates that the message should not be sent immediately if the device is idle.
    The server will wait for the device to become active, and then only the last message for each *collapse_key* value will be sent. Optional. The default value is false, and must be a JSON boolean.

提交回复
热议问题