<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 2, 2015 at 8:34 PM, delalis <span dir="ltr">&lt;<a href="mailto:delalis@gmail.com" target="_blank">delalis@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">That worked thanks Erik.  But now I have to re-code my client to register<br>
using the aerogear way of doing things instead of the generic way I did it<br>
before...<br>
<br>
The classic pushplugin doesnt require you to provide a push-config when<br>
calling the register() function...we were able to specify that later in the<br>
success method.  That way we could first register the device in the GCM<br>
cloud, and then get a token, and provide that token to aerogear using the<br>
java sender API. </blockquote><div>? You mean the registration API ? The Java Sender can&#39;t do anything with the token (unless you manually affect it to the &quot;alias&quot; </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> But this aerogear pushplugin looks like it requires the<br>
variant information upfront when calling register()...which we can provide<br>
but I need to know the URL to expose from the aerogear server and specify it<br>
in the push-config....<br></blockquote><div>Well you know the URL, don&#39;t you ? How did you do it when using the phonegap push plugin ?  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
this link<br>
<a href="https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/#_documentation" target="_blank">https://aerogear.org/docs/guides/aerogear-cordova/AerogearCordovaPush/#_documentation</a><br>
says to use &quot;pushServerURL&quot;: &quot;&lt;pushServerURL e.g http(s)//host:port/context<br>
&gt;&quot;, in the push-config.json file...so what would this link actually be?<br>
http(s)//host:port/context would be  http(s)//host:port/ag-push?  or would<br>
it actually be the word &quot;context&quot;<br></blockquote><div>not &quot;context&quot; :) , more like  http(s)//host:port/ag-push , basically the context where your push server is running.</div><div>BTW, you can use the push-onfig.json file but you can also directly inline the configuration in your javascript.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
thanks for your help!<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-dev.1069024.n5.nabble.com/Android-Background-push-notifications-not-working-tp11716p11733.html" target="_blank">http://aerogear-dev.1069024.n5.nabble.com/Android-Background-push-notifications-not-working-tp11716p11733.html</a><br>
<div class=""><div class="h5">Sent from the aerogear-dev mailing list archive at Nabble.com.<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>
</div></div></blockquote></div><br></div></div>