Getting INVALID_SENDER on one device while its working with another GCM android

前端 未结 6 601
粉色の甜心
粉色の甜心 2021-02-07 20:27

I am following Android Push Notifications using Google Cloud Messaging (GCM) to implement GCM with my application it was working fine on single device (Galaxy S) wh

6条回答
  •  死守一世寂寞
    2021-02-07 21:11

    There is a project ID and the Project Number shown on the top of the Project Dashboard.

    Project ID: aaaa-bbb-000000 Project Number: 00000111112
    

    You have to use the numeric Project Number as SENDER_ID.

提交回复
热议问题