failed gcm registration in android

后端 未结 3 828
太阳男子
太阳男子 2020-12-10 17:13

I\'m trying to deploy an application with push notifications. The problem is that I can not get it to work from a device. While using the emulator, everything is ok but whe

相关标签:
3条回答
  • 2020-12-10 17:34

    The problem was that I had multiple accounts on the phone, for those who have the same problem only has to synchronize with an initial account set up the phone.

    0 讨论(0)
  • 2020-12-10 17:34

    In my case I face this problem due to a firewall on the network which blocked URLs and ports of GCM. I solve it temporarily by using a VPN service i.e. Hotspot.

    To solve permanently I allowed following ports and URLs on firewall.

    5228 5229 5230

    All IPs which are listed in Google's ASN of 15169

    0 讨论(0)
  • 2020-12-10 17:46

    This is occurred due to the bad Google Account password. Check your account on the phone.

    Bad Google Account password. The Android application should ask the user to enter his/her Google Account password, and let the user retry manually later. Fix on the device side.

    Check error codes and explanations here.

    0 讨论(0)
提交回复
热议问题