<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 5, 2015 at 10:39 AM, Erik Jan de Wit <span dir="ltr">&lt;<a href="mailto:edewit@redhat.com" target="_blank">edewit@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">I agree with this and maybe we want even more functionality moved,<br>
because also updating the categories is strange in a &#39;register&#39;<br>
method. Say for instance you want to change the categories your<br>
interested in a developer has to call register again?</blockquote><div><br></div><div>Right, there could be an update function on the client sdk.</div><div><br></div><div>For update we than could do PUT - instead of always do POST (since taht is done now on the register)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> And if I<br>
understand Corinnes mail that will currently not even work on iOS.<br>
<br>
For cordova I store the device info, because the lifecycle is<br>
different, but that is okay it&#39;s an integration problem.<br>
<br>
So updating the installation details should be a separate method that<br>
also contains updating the categories. That way we have a better split<br>
between a device that registers itself with UPS and updating the<br>
subscription data.<br></blockquote><div><br></div><div>sounds good to me! </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
<br>
On Tue, May 5, 2015 at 9:26 AM, Corinne Krych &lt;<a href="mailto:corinnekrych@gmail.com">corinnekrych@gmail.com</a>&gt; wrote:<br>
&gt; Hello Sebi,<br>
&gt;<br>
&gt;<br>
&gt; I&#39;ve done an initial work on aerogear-ios-push [swift branch], adding a new<br>
&gt; parameter when doing the registration to pass the ag-push-id. See:<br>
&gt;<br>
&gt; <a href="https://github.com/aerogear/aerogear-ios-push/compare/aerogear:master...corinnekrych:AGPUSH-1232.analytics.push.notification?expand=1" target="_blank">https://github.com/aerogear/aerogear-ios-push/compare/aerogear:master...corinnekrych:AGPUSH-1232.analytics.push.notification?expand=1</a><br>
&gt;<br>
&gt; This client could be tested with HelloWorld. See:<br>
&gt;<br>
&gt; <a href="https://github.com/jboss-mobile/unified-push-helloworld/compare/jboss-mobile:swift...corinnekrych:AGPUSH-1232.analytics.push.notification?expand=1" target="_blank">https://github.com/jboss-mobile/unified-push-helloworld/compare/jboss-mobile:swift...corinnekrych:AGPUSH-1232.analytics.push.notification?expand=1</a><br>
&gt;<br>
&gt; What is not covered is the background app coming to foreground through a<br>
&gt; push notification. If you look at HelloWorld:<br>
&gt;<br>
&gt; <a href="https://github.com/jboss-mobile/unified-push-helloworld/blob/f7d0a7e093327f9a84041910c4c2892280c88ffb/ios-swift/HelloWorldSwift/AppDelegate.swift#L152" target="_blank">https://github.com/jboss-mobile/unified-push-helloworld/blob/f7d0a7e093327f9a84041910c4c2892280c88ffb/ios-swift/HelloWorldSwift/AppDelegate.swift#L152</a><br>
&gt;<br>
&gt; In iOS, when we go from background to foreground we don&#39;t go through<br>
&gt; registration API. The iOS push lib doesn&#39;t store locally (as opposed to<br>
&gt; windows sdk for ex) the device information. So i can&#39;t really make another<br>
&gt; call to registration API. What i&#39;d suggest is to have a separate endpoint<br>
&gt; for metrics instead of having it coupled with registration endpoint. wdyt?<br>
&gt;<br>
&gt; ++<br>
&gt;<br>
&gt; Corinne<br>
&gt;<br>
&gt; On 4 May 2015 at 19:07, Sébastien Blanc &lt;<a href="mailto:scm.blanc@gmail.com">scm.blanc@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Corinne !<br>
&gt;&gt; We want to collect for both situations you described :)<br>
&gt;&gt;<br>
&gt;&gt; Envoyé de mon iPhone<br>
&gt;&gt;<br>
&gt;&gt; Le 4 mai 2015 à 17:53, Corinne Krych &lt;<a href="mailto:corinnekrych@gmail.com">corinnekrych@gmail.com</a>&gt; a écrit :<br>
&gt;&gt;<br>
&gt;&gt; Hello Sebi,<br>
&gt;&gt;<br>
&gt;&gt; After giving it a closer look, I&#39;ve got a question for you: do we want to<br>
&gt;&gt; collect metrics only when an app is opened via push notification or do we<br>
&gt;&gt; also want to collect metrics when an app is brought to foreground by a push<br>
&gt;&gt; notification?<br>
&gt;&gt;<br>
&gt;&gt; ++<br>
&gt;&gt; Corinne<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 4 May 2015 at 10:21, Corinne Krych &lt;<a href="mailto:corinnekrych@gmail.com">corinnekrych@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Yeap<br>
&gt;&gt;&gt; on it.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On 30 April 2015 at 15:43, Sebastien Blanc &lt;<a href="mailto:scm.blanc@gmail.com">scm.blanc@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; The Advanced Analytics task[1] has a new PR[2] that has been rebased on<br>
&gt;&gt;&gt;&gt; the latest master and got a lot of polishing.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Could the Client Tech Leads take a look at it [3] and review ? The only<br>
&gt;&gt;&gt;&gt; &quot;breaking&quot; change is the rename of the header&#39;s name that identifies a Push<br>
&gt;&gt;&gt;&gt; Notification, it&#39;s called now &quot;aerogear-push-id&quot;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Seb<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; [1] <a href="https://issues.jboss.org/browse/AGPUSH-971" target="_blank">https://issues.jboss.org/browse/AGPUSH-971</a><br>
&gt;&gt;&gt;&gt; [2] <a href="https://github.com/aerogear/aerogear-unifiedpush-server/pull/540" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/pull/540</a><br>
&gt;&gt;&gt;&gt; [3] Subtasks of <a href="https://issues.jboss.org/browse/AGPUSH-971" target="_blank">https://issues.jboss.org/browse/AGPUSH-971</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; aerogear-dev mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt;&gt;&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; aerogear-dev mailing list<br>
&gt;&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; aerogear-dev mailing list<br>
&gt;&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Cheers,<br>
       Erik Jan<br>
</font></span><div class="HOEnZb"><div class="h5"><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" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></div></div></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>