<div dir="ltr">Yes, it&#39;s working now :-)<div><br>It was easy; the problem was  caused  because there was a &quot;small&quot; typo on the Bundle ID I created in the Apple service (a letter was missing...).<br><br>By the way: the in-depth explanation about  setting  up the service on Apple - made by Mathias, I think - is very clear.<br>
<br>Kudos to you all :-)<br><br>M</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 16, 2014 at 5:02 PM, Miguel Lemos <span dir="ltr">&lt;<a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@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">Yes it is! I don&#39;t know where you live but here is indeed a sunny / gorgeous and hot (24 celsius) day. Unfortunately only in the morning I could enjoy it. In the afternoon I returned to my unpleasant chores :-(</div>
<div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 16, 2014 at 4:53 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">Glad I could help on this nice sunny sunday :)<div><br></div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Mar 16, 2014 at 5:25 PM, Miguel Lemos <span dir="ltr">&lt;<a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@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">Oops! A typo :-(<br><br>I missed a &quot;t&quot;: i wrote smardrifter :-(<br><br>Once again, you got it!!!<br>


<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 16, 2014 at 4:22 PM, Miguel Lemos <span dir="ltr">&lt;<a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@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 Seb, thanks for answering in a so short notice :-)<div><br></div><div>Yes, I  payed  attention to that: com.redebiz.smartdrifter both places</div>



<span><font color="#888888"><div><br></div><div>M</div></font></span></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sun, Mar 16, 2014 at 4:11 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 Miguel :)<div>I will dig more into it tomorrow but first thing that comes in mind (because I did this error in the beginning) is to be sure that the bundle you created in the apple portal is exactly the same as the one in your cordova app</div>





<div>Seb</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Sun, Mar 16, 2014 at 5:02 PM, Miguel Lemos <span dir="ltr">&lt;<a href="mailto:miguel21op@gmail.com" target="_blank">miguel21op@gmail.com</a>&gt;</span> wrote:<br>





</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi all!<div><br></div><div>As you know I managed - with a little help from my friends ;-)  -to have the push notifications working on Android. But with iOS, not the same luck so far. What I&#39;ve done:</div>






<div><br></div><div><div>a) I created my development profile at Apple;</div><div>b) I uploaded the Certificates.p12 to  the AeroGear Server;</div><div>c) I installed the devprof profile (the mobile provision file) in Xcode (which says it&#39;s valid);</div>






<div>d) I inserted the variant ID and Secret on my phone code, like this (keys are not real):</div><div><br></div><div>if(device.platform==&#39;iOS&#39;){</div><div><span style="white-space:pre-wrap">                </span>varID= &quot;bb66d681-zabc-42cc-87f6-c27185c2389f&quot;;</div>






<div><span style="white-space:pre-wrap">                </span>varSec= &quot;e66271f5-dd92-492d-bbac-83736f53e930&quot;;<span style="white-space:pre-wrap">                        </span></div><div><span style="white-space:pre-wrap">        </span>} else if (device.platform==&#39;Android&#39;){</div>






<div><span style="white-space:pre-wrap">                </span>varID= &quot;b438d657-5eef-4301-ba82-28c46cc3466f&quot;;</div><div><span style="white-space:pre-wrap">                </span>varSec= &quot;150b5f99-z450-4edc-bdad-62dad284af2e&quot;;<span style="white-space:pre-wrap">                </span></div>






<div><span style="white-space:pre-wrap">        </span>}</div><div><span style="white-space:pre-wrap">        </span></div><div><span style="white-space:pre-wrap">        </span>var pushConfig = {</div><div>          senderID: &quot;278695547260&quot;, // not relevant for Android anyway</div>






<div>          pushServerURL: &quot;<a href="https://aerogear-metalpush.rhcloud.com" target="_blank">https://aerogear-metalpush.rhcloud.com</a>&quot;, </div><div>          variantID: varID,</div><div>          variantSecret: varSec,</div>






<div><span style="white-space:pre-wrap">        </span>  alias: userid</div><div>        }</div><div> </div><div> But nevertheless I can&#39;t register the device. I get this error:</div><div> </div><div> no valid aps-environment (the message is not in English, so I translate it freely:&quot;It was not found a valid aps-environment for the app&quot;)</div>






<div> </div><div> What can be wrong?</div><div> </div><div> Thanks</div></div><span><font color="#888888"><div><br></div><div>Miguel</div></font></span></div>
<br></div></div>_______________________________________________<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><br></blockquote></div><br></div>
<br>_______________________________________________<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><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<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><br></blockquote></div><br></div>
</div></div><br>_______________________________________________<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><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>