<div dir="ltr"><div><div>Hello Morten,<br><br></div>Total number of receivers is incorrect because in 1.1.3 we started using topics [1]. So when receivers use new version of client library they are subscribed to global topic + topic per category (not sure if we also use topics for aliases). Then when you send notification to whole variant or category, UPS sends one notification for the topic. There could be many receivers for given topic, but in metrics it is represented as one.<br></div><div>We already have JIRA ticket [2] for this issue.<br><br></div><div>I don&#39;t know about other issues.<br></div><div><br>[1] <a href="https://firebase.google.com/docs/cloud-messaging/android/topic-messaging">https://firebase.google.com/docs/cloud-messaging/android/topic-messaging</a><br>[2] <a href="https://issues.jboss.org/browse/AGPUSH-1892">https://issues.jboss.org/browse/AGPUSH-1892</a><br><br><span lang="EN-US">Best Regards,</span><br></div><div>Oleg Matskiv<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 22, 2016 at 10:36 AM, Morten Oftedal <span dir="ltr">&lt;<a target="_blank" href="mailto:morten.oftedal@adresseavisen.no">morten.oftedal@adresseavisen.no</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">





<div lang="NO-BOK">
<div>
<p class="MsoNormal">Hi!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">Currently developing an application using UPS 1.1.3 FINAL.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">We are using the RESTFUL API for fetching information about sent push messages (metrics) and have noticed some inconsistencies in the data;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The total receivers number per message does not match the total receivers when adding the variant receivers together.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">There seems to be some duplicate values when asking for variants. For our application, there are two variants, but the API returns anything from 2-6 different variants with some duplicate Variant IDs.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The number of receivers presented on the aerogear admin GUI seems to be an aggregate of the variants, not of the total receivers number from the message.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Attached is some metrics results with said errors.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Are the numbers representing different things is there some error in counting the number of receivers in one of the methods?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Also when sending push messages with defined user data (such as URLs) this data is not saved in the underlying database. Is this a design choice or an upcoming feature?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Best Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Morten Oftedal <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Adresseavisen<u></u><u></u></span></p>
</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 target="_blank" rel="noreferrer" href="https://lists.jboss.org/mailman/listinfo/aerogear-dev">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div>Oleg Matskiv<br></div>Associate Quality Engineer<br></div><div>Red Hat Mobile Application Platform<br></div><a target="_blank" href="mailto:omatskiv@redhat.com">omatskiv@redhat.com</a><br></div></div></div></div>
</div></div>