i has write a small app to receive notification for my server when get new event.
server app send the json format string to gcm then gcm send to my device, but how can i receive the
messages when my phone idle, and if my phone switch off when i on the phone, phone can immediately receive the message.
i try many setting but my phone only can receive when my phone active, if phone become
idle and cant receive any messages.
server side set delay_while_idle:true.
if i set delay_while_idle:false, i can immediately receive the messages when phone idle but not at phone
off.
is it can make app can receive the message when idle or turn on the device can immediately receive the
message?
server app send the json format string to gcm then gcm send to my device, but how can i receive the
messages when my phone idle, and if my phone switch off when i on the phone, phone can immediately receive the message.
i try many setting but my phone only can receive when my phone active, if phone become
idle and cant receive any messages.
server side set delay_while_idle:true.
if i set delay_while_idle:false, i can immediately receive the messages when phone idle but not at phone
off.
is it can make app can receive the message when idle or turn on the device can immediately receive the
message?