<div dir="ltr">Hi, all,<div><br></div><div>I&#39;ve created an epic for this:</div><div><a href="https://issues.jboss.org/browse/AGPUSH-2093">https://issues.jboss.org/browse/AGPUSH-2093</a><br></div><div><br></div><div>Cheers,</div><div>Matthias</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 30, 2017 at 10:33 PM, Daniel Passos <span dir="ltr">&lt;<a href="mailto:dpassos@redhat.com" target="_blank">dpassos@redhat.com</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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, May 30, 2017 at 2:33 PM, Summers Pittman <span dir="ltr">&lt;<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="m_7414656510456585258gmail-">On Tue, May 30, 2017 at 11:27 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="m_7414656510456585258gmail-m_2999609795037316300gmail-">On Tue, May 30, 2017 at 4:04 PM, Summers Pittman <span dir="ltr">&lt;<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Tue, May 30, 2017 at 8:43 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>on FCM related push, we do, in our client SDK, automatically subscribe a client to an annoymous topic, matching our immutable variant ID.</div><div><br></div><div>If users are specifying categories, we do map those into topics as well.</div><div><br></div><div>This is the related code in our Android SDK:</div><div><a href="https://github.com/aerogear/aerogear-android-push/blob/master/aerogear-android-push/src/main/java/org/jboss/aerogear/android/unifiedpush/fcm/AeroGearFCMPushRegistrar.java#L188-L193" target="_blank">https://github.com/aerogear/ae<wbr>rogear-android-push/blob/maste<wbr>r/aerogear-android-push/src/ma<wbr>in/java/org/jboss/aerogear/and<wbr>roid/unifiedpush/fcm/AeroGearF<wbr>CMPushRegistrar.java#L188-L193</a></div><div><br></div><div>How do people feel about doing that for the alias as well ? </div><div><br></div><div>In the past we did not do it, since topics used to be a more restricted resource. Remember, the first notion of topics (GCM v3, at that time) were even limiting the number of max. subscribers?</div><div><br></div><div>However, that changed, and I think it would be nice if we just use the topics for each alias of the app as well. This would speed up the time to deliver the push request to the FCM backend, since the UPS would no longer need to look up the device, a push, regardless how many devices, means one small HTTP to Google, per alias (aka topic)</div><div><br></div><div>Any thoughts ? </div></div></blockquote><div><br></div></span><div>So there is a concept of &quot;device groups&quot; in FCM which are devices owned by the same logical user.  I think that might be a more interesting knob to twist than more stuff on a topic.</div></div></div></div></blockquote><div><br></div></span><div>any link ? ;-) </div><span class="m_7414656510456585258gmail-m_2999609795037316300gmail-"><div> </div></span></div></div></div></blockquote><div><br></div></span><div>So I think I might be overstating and misremembering, but this : <a href="https://firebase.google.com/docs/cloud-messaging/android/device-group#sending_upstream_messages_to_device_groups" target="_blank">https://firebase.google.com/<wbr>docs/cloud-messaging/android/d<wbr>evice-group#sending_upstream_m<wbr>essages_to_device_groups</a> looks promising.  Basically if I am reading the doc right I can send a message from one device to the others using device groups, and this message could be a read receipt that closes the other notifications when it is received.</div></div></div></div></blockquote><div><br></div></span><div>I think you are right, it isn&#39;t some UPS should but, it&#39;s something device will do.<br></div><div>More detail in the video =&gt; <a href="https://youtu.be/gJatfdattno?t=675" target="_blank">https://youtu.be/gJatfdattno?<wbr>t=675</a><br></div><div><div class="h5"><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div class="m_7414656510456585258gmail-h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="m_7414656510456585258gmail-m_2999609795037316300gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Also we might want to start considering how we can handle keeping notifications in sync across devices.  FCM has capabilities for sending &quot;read receipts&quot; to other devices to dismiss notifications that were handled on a different device and I think it leans on the device group APIs I mentioned to do that.  But this is all based on my feeble memory ;)</div></div></div></div></blockquote><div><br></div></span><div>for sure, something we could do in the future, with a new server component. i dont want ups to keep track of all of that.</div><div><br></div><div>ideally push just sends push... and writes status to kafka, than others read and do what they want, e.g. metrics, sync etc</div><span class="m_7414656510456585258gmail-m_2999609795037316300gmail-"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><div dir="ltr"><div><br></div><div>NOTE: There is a general limit of topic abuse, but that&#39;s on the app instance (see [1]), so our APP Developers need to make sure they don&#39;t go crazy w/ a gazillion of categories ;-) </div><div><br></div><div>-Matthias</div><div><br></div><div><br></div><div>[1] <a href="https://firebase.google.com/docs/cloud-messaging/admin/errors" target="_blank">https://firebase.google.com/do<wbr>cs/cloud-messaging/admin/error<wbr>s</a><span class="m_7414656510456585258gmail-m_2999609795037316300gmail-m_6087005542040542279m_-7995227320983600479HOEnZb"><font color="#888888"><br></font></span></div><span class="m_7414656510456585258gmail-m_2999609795037316300gmail-m_6087005542040542279m_-7995227320983600479HOEnZb"><font color="#888888"><div><br></div><div>-- <br><div class="m_7414656510456585258gmail-m_2999609795037316300gmail-m_6087005542040542279m_-7995227320983600479m_7456170508029837906gmail_signature"><div dir="ltr"><div>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.word<wbr>press.com/</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div></div></div>
</div></font></span></div>
<br></span><span>______________________________<wbr>_________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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/mailma<wbr>n/listinfo/aerogear-dev</a><br></span></blockquote></div><br></div></div>
<br>______________________________<wbr>_________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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/mailma<wbr>n/listinfo/aerogear-dev</a><br></blockquote></span></div><span class="m_7414656510456585258gmail-m_2999609795037316300gmail-"><br><br clear="all"><div><br></div>-- <br><div class="m_7414656510456585258gmail-m_2999609795037316300gmail-m_6087005542040542279gmail_signature"><div dir="ltr"><div>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.word<wbr>press.com/</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div></div></div>
</span></div></div>
<br>______________________________<wbr>_________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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/mailma<wbr>n/listinfo/aerogear-dev</a><br></blockquote></div></div></div><br></div></div>
<br>______________________________<wbr>_________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">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/mailma<wbr>n/listinfo/aerogear-dev</a><br></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_7414656510456585258gmail_signature"><div dir="ltr">-- Passos<br></div></div>
</font></span></div></div>
<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div></div></div>
</div>