<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 31, 2013 at 10:37 PM, Yavuz Selim YILMAZ <span dir="ltr">&lt;<a href="mailto:yavuzsel@buffalo.edu" target="_blank">yavuzsel@buffalo.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>Comments inline.</div><div><br></div><div>Best regards,<div class="im">
<br><div>
<div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
<br>---</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
Yavuz Selim Yilmaz</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
SUNY at Buffalo</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
Computer Science and Engineering</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">
PhD Candidate</div>
</div>
<br></div><div><div class="im"><div>On Jul 31, 2013, at 3:46 PM, Matthias Wessendorf &lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt; wrote:</div><br><blockquote type="cite"><br><br>On Wednesday, July 31, 2013, Yavuz Selim YILMAZ  wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi all,<div><br></div>
<div>Finally I got it working on both development and distribution apps. :)  The issue was my .p12 certificate I believe. I was using the RedHat distribution certificate that I created for StaffRoster. Though the certificate is valid (currently using for ad-hoc distribution without any issue), I think I didn&#39;t get proper .cer file for that profile. Anyway, I tried with my personal account, and had a new app, now it&#39;s working.</div>

</div></blockquote><div><br></div><div><br></div><div>cool!</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">

<div><br></div><div>However, this snippet causes error:</div><div><br></div><div><pre style="padding:8.5px;font-family:Menlo,Monaco,Consolas,&#39;Courier New&#39;,monospace;font-size:10px;color:rgb(51,51,51);border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;margin-top:0px;margin-bottom:9px;line-height:18px;word-break:break-all;word-wrap:break-word;white-space:pre-wrap;background-color:rgb(245,245,245);border:1px solid rgba(0,0,0,0.148438)">
<code style="padding:0px;font-family:Menlo,Monaco,Consolas,&#39;Courier New&#39;,monospace;font-size:12px;color:inherit;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:transparent;border:0px">// --optional config--
        // set some &#39;useful&#39; hardware information params
        UIDevice *currentDevice = [UIDevice currentDevice];

        [clientInfo setOperatingSystem:[currentDevice systemName]];  // [6]
        [clientInfo setOsVersion:[currentDevice systemVersion]];     // [7]
        [clientInfo setDeviceType: [currentDevice model]];           // [8]</code></pre><div><br></div><div>I haven&#39;t tried if it is just the setOperatingSystem line, but when I use the above code, my push server returns error saying &quot;unrecognized field mobileOperatingSystem&quot;. Other than that, it&#39;s now working with the basic setup. :) I will play with it more, and will update if I see any issues or anything.</div>

</div></div></blockquote><div><br></div><div>already fixed ; PR already attached to the reg SDK</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word"><div><br></div><div>Thanks for your helps, comments and time. Kind regards,</div></div></blockquote><div><br></div><div><br></div><div>Thx for testing!</div><div><br></div><div>
<br></div><div>One question: Interested in seeing if the tutorial needs an overhaul, regarding the different certs / profiles?</div></blockquote><div><br></div></div><div>Currently, this part of the tutorial on <a href="http://aerogear.org" target="_blank">aerogear.org</a> is not up to date as far as I could see: <a href="http://aerogear.org/docs/guides/aerogear-push-ios/unified-push-server/" target="_blank">http://aerogear.org/docs/guides/aerogear-push-ios/unified-push-server/</a></div>
</div></div></div></blockquote><div><br></div><div><br></div><div>right it misses the PROD / DEV differences etc. I was more asking if you would be interested in providing some updates on that side.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div><div><br></div><div>I was following the instructions on <a href="https://github.com/aerogear/aerogear-unified-push-server" target="_blank">https://github.com/aerogear/aerogear-unified-push-server</a> readme for the server side operations. This one includes instructions for both DEV variant and PROD variant.</div>
</div></div></div></blockquote><div><br></div><div>yep - they reflect the changes that were made to MASTER</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div><div><br></div><div>When I decided to start from the beginning and have a new app (the last and the working one), everything seem so smooth. I followed the instructions and got it working. But as I spent some time on this flow, I am not sure whether the instructions were complete or my past experience with the stuff made it easy.</div>
<div><br></div><div>Lastly, I felt like, if the tutorial was also talking about how to integrate the push into an existing app, it&#39;d be better (though it&#39;s as simple as adding the pod, running pod update and importing the header).</div>
</div></div></div></blockquote><div><br></div><div>I think we have a &#39;future&#39; JIRA ticket for that already</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div><div><br></div><br><blockquote type="cite"><div><div class="h5"><div><br></div><div><br></div><div>Thanks!</div><div>Matthiad<span></span></div><div><br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>
<div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">

<br>---</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">

Yavuz Selim Yilmaz</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">

SUNY at Buffalo</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">

Computer Science and Engineering</div><div style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px">

PhD Candidate</div>
</div>
<br><div><div>On Jul 31, 2013, at 11:08 AM, Yavuz Selim YILMAZ &lt;<a>yavuzsel@buffalo.edu</a>&gt; wrote:</div><br><blockquote type="cite"><div style="word-wrap:break-word">Hi,<div><br></div><div>Maven related comments are here. Comments on my next trial (playing with certificates once more) is on its way (soon to be arrived).</div>

<div><br></div><div>The eclipse error I mentioned on item (1) in the first email is this one: <a href="http://wiki.eclipse.org/M2E_plugin_execution_not_covered" target="_blank">http://wiki.eclipse.org/M2E_plugin_execution_not_covered</a></div>

<div><br></div><div>It&#39;s weird that it sometimes works well, sometimes it doesn&#39;t. Maybe it&#39;s worth mentioning in the guides about this error (not caused by AeroGear). Today, it worked for me, yesterday (even if I imported the project again and again - restarted the eclipse and tried again) it was not working at all.</div>

<div><br></div><div>Some more info inline.</div><div><div><br></div><div>
<div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">

Kind regards,</div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">

<br>---</div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">

Yavuz Selim Yilmaz</div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">

SUNY at Buffalo</div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">

Computer Science and Engineering</div><div style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">

PhD Candidate</div>
</div>
<br><div><div>On Jul 31, 2013, at 10:43 AM, Karel Piwko &lt;<a>kpiwko@redhat.com</a>&gt; wrote:</div><br><blockquote type="cite">On Wed, 31 Jul 2013 02:23:07 +0200<br>Matthias Wessendorf &lt;<a>matzew@apache.org</a>&gt; wrote:<br>

<br><blockquote type="cite">Hello Yavuz,<br><br>thanks for trying out the new bits - comments inline;<br><br><br>On Tue, Jul 30, 2013 at 9:20 PM, Yavuz Selim YILMAZ<br>&lt;<a>yavuzsel@buffalo.edu</a>&gt;wrote:<br><br><blockquote type="cite">

Hi all,<br><br>I was trying out unified push server with my production app. Here are some<br>of the issues I encountered. Any helps and directions are appreciated.<br><br>1- I cloned aerogear-unified-push-server master branch, and imported to<br>

eclipse. it was not compiling (I think because of m2e issues).<br><br></blockquote><br>Not compiling ? Or Eclipse error/warnings (which is different from having<br>java code that is not compiling)<br></blockquote><br>Yavuz, what Maven version are you using in Eclipse?<br>

</blockquote><div><br></div><div>Using eclipse Juno (<span style="font-family:&#39;Lucida Grande&#39;;font-size:11px">Version: 4.2.2 </span><span style="font-family:&#39;Lucida Grande&#39;;font-size:11px">Build id: M20130204-1200)</span></div>

<div>Maven: Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)</div><div>m2e: version 1.4.0.20130601-0317</div><br><blockquote type="cite"><br><blockquote type="cite"><br><br><br><blockquote type="cite">I have seen in pom.xml file a fix for that already, but on my machine that<br>

fix was not working either. so, I needed to change maven-compiler-plugin&#39;s<br>execution id to &quot;test-compile&quot;. it then compiled, and deployed successfully.<br><br>2- Then I followed the instructions here:<br>

<a href="https://github.com/aerogear/aerogear-unified-push-server" target="_blank">https://github.com/aerogear/aerogear-unified-push-server</a><br>Here, login command hangs with a message saying &quot;no chunk, no close, no<br>

size. Assume close to signal end&quot;. And I hit Ctrl + C. Then tried again,<br>same thing. And then I proceeded (with Ctrl + C), and everything else seem<br>fine, and I could add my </blockquote></blockquote></blockquote>

</div></div></div></blockquote></div></div></blockquote><br><br>-- <br>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><br>
</div></div><div class="im">
_______________________________________________<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" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></div>
</blockquote></div><br></div></div><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><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>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>