To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/0e3d5523-bdc7-45b6-b36d-80659db4ac4f%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "android-gcm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-gcm...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/4f110d4b-c126-4b35-a7e5-93240be0fbcd%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/36ad1ac8-7b69-4480-bdc6-6ac8afa3e3b1%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "android-gcm" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-gcm/gScadiCjK-g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-gcm...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/c89ef71e-40c9-4231-b40c-3a4c6347762b%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/39b0b7ad-0967-452d-8107-ddcaf3114abe%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/39b0b7ad-0967-452d-8107-ddcaf3114abe%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/CAP8-FqkUcx7uRNCs5t8wV-H6ZtJi2zWGKM%2BcrfW951x7S_itJg%40mail.gmail.com.
Thank you for the update Costin!
I'm so sorry to read the fix was rolled back.Personally i can't talk for others but I'm not relying on uninstall to notify about nothing to users. With the app unistalled we have no access or need to notify about nothing to users, so I think that's not the problem because is not a common business case (There's no Intents defined by Google to do something like monitoring package uninstalls on the SDK, so, correct if I'm wrong but trying to do something like that with GCM will be also unprecise and useless). My real main concern is the overload on 3rd party servers to query and serialize registration_ids to apps/devices that not need information from us anymore. As I said to you before, I'm quite sure that this also produces an overwork on Google's GCM servers, because you are trying to deliver a message to a nonexistent app unnecesarily. Even if you have unlimited "Google juice", keeping things in this status it seems to me bad design and a waste of resources.
About your second suggest, well, I prefer to use barely the registration_id as identifier. Any change that affects its lifecycle can be managed directly (canonical, errors, success) if GCM team not fails to honor actual behavior as it is documented. The main reason of my intransigence is that I want to be fair to users, respect their privacy without generating or taking any aditional data from their devices. Registration_ids are ideal for this and of course, not polling my servers and not overkill users batteries with unnecesary aditional network requests is a good Android citizen behavior also.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/CACC1Db4XzWv7EMPYqwZ7hAqw1_tnFO6bV4ADgdTiKc99SAiNaQ%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "android-gcm" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-gcm/gScadiCjK-g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-gcm...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/299fc2ab-96bb-4813-84e3-4d98930c2e07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I repeat. This is currently working as intended. Check your testing methods because they're defenitively wrong.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/f0cbba20-f94b-4332-af5f-7ba1b649a54f%40googlegroups.com.
If you are using GCM HTTP you need to parse Google's JSON response where you will never find the unregistered devices in the way that you are trying todo do.
Additionally, is not only "NotRegistered" or canonical the only issues to cover on your server when you work with the response.
Please, read carefully this section to understand all scenarios and concrete tags that you must to implement on your 3rd party backend.
http://developer.android.com/google/gcm/http.html
In doubt, open another thread with the specifics and I'll be glad to help.
Regards,
Martin
We'll, you're free to be un doubt of whatever you want.
I don't think that pure Google implementation is wrong.
Maybe your implementation based on that parser is wrong.
But this is easy to debug: If you didnt receive any error "NotRegistered" on the JSON response and failure equals zero, your problem is before your parser. The posible causes are mentioned above in this thread: Maybe your device is still informing that your app package is present or you are not waiting enough messages and time to let Google informs you the unregistration.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/2fa2b0f1-3805-4b95-8c6c-20fdefd144fa%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "android-gcm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-gcm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/e5e029b8-56d7-4e75-9105-f059df8cfa3c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/f2ae3635-530a-477b-b3c1-4edbe9d50bfc%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/cc45c332-aa77-49b3-8b60-a8845d735a23%40googlegroups.com.