push notification - Android GCM Server error: Device Subscription Expired -


on sending notifications android device via gcm getting following response:

device subscription expired: pushsharp.android.gcmpushservice -> appid

due issue experience random issues on phone. example, app receives call backs on receiver.

can please provide more details error? when occur? similar device id registration? needs done handle situation?

thanks!

if @ code of gcmpushchannel.cs, you'll see devicesubscriptonexpiredexception returned when either google return notregistered error or canonicalregistrationid.

since saying app gets calls on receiver, it's possible have in db multiple registration ids same device, , when send message of them, device gets multiple messages. explain why canonical registration id in response google.

i'm not sure how push sharp handles canonical registration id. little code read it's possible fires event allows delete old registration id db.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -