I have migrated my project from using GCM to use Firebase. Push notification comes through ok when the device is awake or been asleep recently but if I leave the device for
Instead of using "android":{"priority":"high"}, use like this
{ "time_to_live": 300000, "delay_while_idle": false, "data": { "message": "PING_DEVICE", "time": "21/01/2018 16:20:28", "pushguid": "10062" }, "priority": "high" }