<div dir="ltr">Hello,<div><br></div><div>sorry for the late reply, but the mail got stuck in my moderation queue :-( </div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 17, 2016 at 2:44 PM, cel <span dir="ltr"><<a href="mailto:heldner@glue.ch" target="_blank">heldner@glue.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">The new device Token returned by the new GCM - API for Android (using<br>
InstanceId.getToken instead of gcm.register(context), which is deprecated)<br></blockquote><div><br></div><div>For that we have a ticket, but weren't able to get to it:</div><div><a href="https://issues.jboss.org/browse/AGDROID-427">https://issues.jboss.org/browse/AGDROID-427</a><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
is not accepted by the Aerogear server. The format of the<br>
InstanceId.getToken is different.<br>
Example:<br>
Beginnning of gcm.register - Token :<br>
APA91bGdSq3-OKaDV_pyvunTZpnD_LKb6OrxIk7...<br>
Beginning of InstanceId.getToken : eArreQ7017w:APA91bFe5lTYzEoNSivfPYaID...<br>
So if I try to register with the InstanceId.getToken using the Restful<br>
interface "/registry/device" the Http response of the aerogear server is:<br>
"200 OK", but I still cannot find it in the installations. Consequently no<br>
push notifications from aerogear can be sent to that device. Is this a Bug?<br>
Has this been fixed in newer versions?<br></blockquote><div><br></div><div>yes, that's a bug - looks like the token format changed w/ InstanceId, and our 'validator' needs to be updated.</div><div><br></div><div>Thanks for reporting, I have filed a JIRA and we will be looking at it:</div><div><a href="https://jira.jboss.org/browse/AGPUSH-1600">https://jira.jboss.org/browse/AGPUSH-1600</a><br></div><div><br></div><div>-Matthias</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-dev.1069024.n5.nabble.com/GCM-Device-Token-not-accepted-tp12403.html" rel="noreferrer" target="_blank">http://aerogear-dev.1069024.n5.nabble.com/GCM-Device-Token-not-accepted-tp12403.html</a><br>
Sent from the aerogear-dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div></div>