[Aerogear-users] Testing push in Cordova

Luke Holmquist lholmqui at redhat.com
Fri Jan 22 08:31:07 EST 2016


On Fri, Jan 22, 2016 at 8:28 AM, Anton Hughes <kurrent93 at gmail.com> wrote:

>
> On Fri, Jan 22, 2016 at 2:25 PM, Luke Holmquist <lholmqui at redhat.com>
> wrote:
>
>> just a thought that popped into my head.   The url pointing to your UPS
>> server shouldn't be localhost, since there is no localhost on the device.
>>  not sure if thats how you have it configured, though. but this always
>> bites me
>
>
> The wise expression of Homer Simpson comes rushing into mind!
> I'm away from my dev environment, so cannot test - but, yes I am using
> localhost in the cordova project.
>
> So if not localhost, then what?
>
if you are running the UPS server on your local machine, then it would be
your IP instead of localhost.  The device just needs to "see" it, so that
means you need to be on the same network.   unless you are running it in
the cloud or something

>
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20160122/abfc3d4a/attachment.html 


More information about the Aerogear-users mailing list