why GCM is not giving push notification in android device?

后端 未结 2 382
天命终不由人
天命终不由人 2021-01-22 14:57

I am new to android and doing a demo app for gcm push notification.

I have developed all this code and GCM push notification is coming on devices in my environment, but

2条回答
  •  旧时难觅i
    2021-01-22 15:14

    Try to ping google.com from your server. If it is not success try to investigate your server configuration.

    E.g. Check you /etc/resolv.conf and see if you have:

    nameserver 8.8.8.8
    nameserver 8.8.4.4
    

提交回复
热议问题