Not able to receive GCM message in my device, even though the server got success message

前端 未结 2 664
-上瘾入骨i
-上瘾入骨i 2021-01-15 02:29

I got success message as response to web server (localhost) from gcm. But the message is not received by the devices. Please help. Below is the code which I used.

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-15 02:55

    I had same problem of receiving push messages, even though GCM server replies "Success", because of wifi privacy. When I used my company wifi, I coudn't receive message in mobile, since they were blocked GCM server port . So, even your wifi also could be a one of the reason. check it once { this answer is for others , who may face this}

提交回复
热议问题