<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 18, 2016 at 10:30 AM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Coming back to this, after a loooooooooooooong, looooooong time...<div><br></div><div><br><div class="gmail_quote"><span class="">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Summers Pittman</b> <span dir="ltr">&lt;<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>&gt;</span><br>Date: Tue, Aug 11, 2015 at 2:31 PM<br>Subject: Re: [Aerogear-users] categories have been hijacked<br></span>To: <a href="mailto:aerogear-users@lists.jboss.org" target="_blank">aerogear-users@lists.jboss.org</a><br><br><br><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class=""><span>On Tue, Aug 11, 2015 at 12:43 AM, Kelvin Lunsford <span dir="ltr">&lt;<a href="mailto:kelvin@qantel.com" target="_blank">kelvin@qantel.com</a>&gt;</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">Hi Summers,<br>
<br>
GCM topic messages go to all devices registered for the topic. Topic notifications cannot be restricted to an alias or list of aliases.<br>
<br>
The way it worked before, and still works on ios, you can send a command to UPS with an &quot;alias&quot; name AND a &quot;categories&quot; name and it will only go to devices that have registered using that &quot;alias&quot; name AND that &quot;categories&quot; name.  UPS finds which devices meet the selection criteria and push notification requests are sent for those devices.<br>
<br>
Requests with aliases and categories can target specific users in a group.<br>
<br>
With real &quot;categories&quot; you can segment users into groups, so every device can be assigned a category, and sub-groups can be defined by using more than one category per device.  This is useful for geographic or organizational targeting.<br>
<br>
I have no problem with GCM topics. Just make it a new feature.  Give me back my categories.<br></blockquote><div><br></div></span><div>So the goal isn&#39;t to replace or hijack categories with topics. The goal is to leverage Google&#39;s API fully and transparently to the UPS user so that we make fewer calls and provide a better experience.  You have some great use cases that haven&#39;t been brought up.  Keep in mind that the PRs open right now are a &quot;first draft&quot; of the technology.</div><div> <br></div><div><br></div><div><br></div></span><div><div>NOTE: Between Google IO 2015 and now, April 2016, there was a change on topics: No more limitations of subscribed devices! Before it was limited to 1 million.</div></div><div><br></div><div>Now, this also means options :-) We could just auto register each android device to one topic (e.g. /topics/VARIANT_ID), *IF* there is no category provided!</div></div></div></div></div></div></div></blockquote><div><br></div><div>I think you mean always register a device to a variant specific topic.  That way we can send all Android GCM users a message with one push message from the push server.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="gmail_quote"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Regarding the concerns, to &#39;alias&#39; or any other criteria, my understanding is that, for now, we just use GCM topic only if nothing else, than the category is provided to the RESTful Sender API.</div><div><br></div><div><div>However, we could extend our Device Group feature, and kinda group all devices to a users group, and have the category play in there too. E.g. have some groups like:</div><div>* matthias_football</div><div>* matthias_music</div><div>but the sending here, would be a message to a device group, not a category</div></div><div><br></div><div>-Matthias</div><span class=""><div><br></div><div><br></div><div><br></div><div><br></div><div>  Feel free to join in on the discussion about topics on aerogear-dev.  It is really important we do this right and I think you can help with that.</div><span><font color="#888888"><div><br></div><div>Summers</div></font></span><span><div><br></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>
- Kelvin<br>
<br>
<br>
---------------------------------------------------------------------------------------<br>
From: <a href="mailto:aerogear-users-bounces@lists.jboss.org" target="_blank">aerogear-users-bounces@lists.jboss.org</a> [mailto:<a href="mailto:aerogear-users-bounces@lists.jboss.org" target="_blank">aerogear-users-bounces@lists.jboss.org</a>] On Behalf Of Summers Pittman<br>
Sent: Monday, August 10, 2015 6:12 PM<br>
To: <a href="mailto:aerogear-users@lists.jboss.org" target="_blank">aerogear-users@lists.jboss.org</a><br>
Subject: Re: [Aerogear-users] categories have been hijacked<br>
<div><div><br>
<br>
&gt;<br>
&gt;On Mon, Aug 10, 2015 at 8:36 PM, Kelvin Lunsford &lt;<a href="mailto:kelvin@qantel.com" target="_blank">kelvin@qantel.com</a>&gt; wrote:<br>
&gt;Setting &quot;categories&quot; in the push payload was working for android and ios in cordova push plugin 1.1.1.<br>
&gt;<br>
&gt;For version 2.0.2 &quot;categories&quot; only works for ios.<br>
&gt;<br>
&gt;It looks like &quot;categories&quot; is being hijacked in android for a GCM feature called &quot;topics&quot;.<br>
&gt;<br>
&gt;I liked &quot;categories&quot;.  I was using it.  Now it&#39;s gone.  GCM topics is not a drop-in replacement.  It&#39;s not the same thing.<br>
<br>
What do categories do that topics do not do? <br>
<br>
&gt;New features should get new names and new commands.<br>
&gt;<br>
&gt;- Kelvin<br>
<br>
<br>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
</div></div></blockquote></span></span></div><br></div></div><span class="">
<br>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
<br></span></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>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>
</font></span></div></div>
<br>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br></div></div>