Google Cloud Messaging (GCM) with local device groups on Android gives HTTP Error code 401

后端 未结 3 1447
死守一世寂寞
死守一世寂寞 2020-11-30 14:37

I am trying to get Google Cloud Messaging (GCM) to work on Android with local device groups as described on https://developers.google.com/cloud-messaging/android/client-devi

3条回答
  •  借酒劲吻你
    2020-11-30 15:10

    Found the trick: you are using a google account to take the id_token, you need to use EXACTLY the email as notification_key_name. So if you are using foo@gmail.com, you need to use this address as notification_key_name.

提交回复
热议问题