Even if they were allowed... Apps, with older AGDroid SDKs aren't able to subscribe. That means if the UPS server updates, they all would receive no message :-)Therefore that look up for 'old' tokens is generally neededOn Wed, Apr 20, 2016 at 1:23 PM, Matthias Wessendorf <matzew@apache.org> wrote:On Wed, Apr 20, 2016 at 12:19 PM, Matthias Wessendorf <matzew@apache.org> wrote:Hi,the format for tokens received from InstanceID API have a slightly different format:It's basically (prefix_string : RegistrationID).Now, in order to be able to subscribe on a topic is it _really_ required to have a 'new' InstanceID token ? I could not find a _clear_ statementlooks like InstanceID tokens are required:But, on the other hand it does not mention that GCM.register() tokens are not allowed :-)I am asking because I'm working on the server hook to send topic request.If the answer yes, only InstanceID tokens can subscribe, we need a little switch on the server (not a show stopper):1) send /topics/{something} (should not affect 'old' tokens_2) fallback: find tokens w/o the ':', so we can fallback to pure registration Id for "non-Instance ID " tokensThanks,Matthias--Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf--Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf--Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev