user3129398
user3129398

Reputation: 11

Google cloud messaging using Push sharp

I am using https://github.com/Redth/PushSharp

Registration with GCM works fine, however if I unregister, the device still receives push notifications.

All I have done is downloaded the push sharp source from https://github.com/Redth/PushSharp, and replaced my project ID as suggested in the example solution.

Could anyone familiar with GCM please suggest if they have experience anything similar, which is after unregistering, they still receive push notification from Google, and suggest a workaround/fix.

Thanks

Upvotes: 1

Views: 348

Answers (1)

Giru Bhai
Giru Bhai

Reputation: 14398

Your problem have two solutions :

  1. On Unregister mark registration false for that device on your server database.Or,
  2. unregister broadcastreceiver from your app.

Upvotes: 1

Related Questions