<div dir="ltr"><div>Hi Sebi,</div><div><br></div><div>I not sure if we really need this, because we already have an example very close of it on <a href="http://ag.org">ag.org</a>, btw on Android snippet you are using MainActity, but your class is an Application and missed &quot;Category&quot; Gist fixed =&gt; <a href="https://gist.github.com/danielpassos/f7e6e4b723d71c4c56e9 ">https://gist.github.com/danielpassos/f7e6e4b723d71c4c56e9 </a></div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 4, 2014 at 2:09 PM, Sebastien Blanc <span dir="ltr">&lt;<a href="mailto:scm.blanc@gmail.com" target="_blank">scm.blanc@gmail.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">Hi,<div><br></div><div>I&#39;ve started to work on <a href="https://issues.jboss.org/browse/AGPUSH-550" target="_blank">AGPUSH-550 </a> where the idea is to generate Device Registration code Snippets that the user can copy/paste into his client application.</div>


<div><br></div><div>The flow is quite simple : he chooses a Variant, then click a link on the right that brings you to the Snippets page. </div><div>Since  the console knows the type of the selected variant, the appropriate  snippet is generated ... Yes &quot;generated&quot; , that means it&#39;s not a static code snippet but it&#39;s actually filled with the needed info : UPS Server URL, Variant ID, Variant Secret, SenderId (for Android).</div>


<div><br></div><div>For each code snippet, there also the Cordova version for it. So, if you choose an Android variant for instance you will have : </div><div><br></div><div><img src="cid:ii_1448dfb1d337c02f" alt="Inline image 1" width="420" height="333"> </div>


<div><br></div><div>And as you can see,  there is also a link to cordova : </div><div><br></div><div><img src="cid:ii_1448dfcee4f87cfd" alt="Inline image 2" width="507" height="282"><br></div><div><br></div><div>This is still work in progress, needs polishing etc ... But once we got this, it will be really easy for a new user to get started. All the variants type are covered : iOS, Android and SPS</div>


<div><br></div><div>Oh, want to test it live ? Give it a try here : <a href="https://newpush-sblanc.rhcloud.com/" target="_blank">https://newpush-sblanc.rhcloud.com/</a> (admin / 123)</div><div><br></div><div>I will probably PR that very soon, in the same time you can check this branch <a href="https://github.com/sebastienblanc/aerogear-unified-push-server-admin-ui/tree/AGPUSH-550" target="_blank">https://github.com/sebastienblanc/aerogear-unified-push-server-admin-ui/tree/AGPUSH-550</a> if you want to play with it locally.</div>


<div><br></div><div>See you ! </div><div>Sebi</div><div><br></div><div><br></div><div> </div><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></div>