I've created the JIRA subtask:
https://issues.jboss.org/browse/AGDROID-62
You said some push networks recommend not to unregister from device. Well, I was more
thinking about it like the device will send information to the unified push server and the
server will then remove the device from the list of available tokens. Also the device
would unregister from the push network if it should (I think it's valid way with GCM,
don't know about others).
From the API side, I think it might be added as a method of Registrar. So there would be
Registrar#register and Registrar#unregister. What do you think?
On Jul 15, 2013, at 12:57 PM, Matthias Wessendorf <matzew(a)apache.org> wrote:
it is opional, since some push networks recommend not performing
"in app unregister" themselves. (eg APNs). There are (APNs)hooks to query for
invalid tokens (aka feedback service).
For Android SDK, can u file JIRA sub task of AGDROID-35 ?
Thanks,
Matthias
PS: there is no real harm, if payload to push network contains "outdated"
tokens.
On Monday, July 15, 2013, TadeasKriz wrote:
Hey,
I'm now trying the unified push with Android and I've noticed, that there is no
way (or I didn't find it?) to unregister the device. Example real usage: in
application settings there might be a checkbox to disable notifications, so the user
probably won't like receiving push messages which would then be discarded by the
device (it'd be a waste of his data package). It seems to me like it wasn't left
out on purpose, but rather forgotten to be added. Any thoughts on this?
Thanks
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
--
Matthias Wessendorf
blog:
http://matthiaswessendorf.wordpress.com/
sessions:
http://www.slideshare.net/mwessendorf
twitter:
http://twitter.com/mwessendorf
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev