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
Post a Comment