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

前端 未结 6 609
粉色の甜心
粉色の甜心 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:24

    I just wanted to share with you that I ran into this same problem just now.

    GCM push worked perfectly fine before, nothing's got changed, and all of the sudden our users flushed back with complaints about not getting push notifications.

    So I did check out all the StackOverflow thread re. this issue and still couldn't figure things out (had the app id / keys all correctly input, code's perfectly fine, even tried out on the Google demo and blah blah blah)

    So in an act of desperate I went to the dev console and disabled GCM, then re-enabled it... everything just worked!

提交回复
热议问题