[Aerogear-users] Pushmessages to the browser

Luke Holmquist lholmqui at redhat.com
Fri Mar 18 09:37:56 EDT 2016


On Fri, Mar 18, 2016 at 8:51 AM, ag0ny <ag0ny at gmx.net> wrote:

> Hello together,
>
> I am trying to get push messages to the most common browsers (IE,
> Firefox, Chrome). The browser app is written using the Google Web Toolkit.
>
> As a starting point I tried to get the Simplepush example up and running
> using the following quickstart tutorial:
>
>
> https://github.com/aerogear/aerogear-js-cookbook/tree/master/simplepush-example
>
> The Simplepush-server is running, but the (Javascript in the) index.html
> of the simplepush-unifiedpush-example can't connect to it. I also still
> have some basic questions I did not find an answer for in the tutorial
> or anywhere else.
>
> - Do have Simplepush und AeroGear UPS have to communicate with each
> other? If so, how do they work together?
>
for that example, you don't need the UPS, there is an example in the
aerogear-js-cookbook that interacts with both

>
> - Is the Simplepush-server included in the AeroGear UPS? What does the
> simplePushUrl in the unifiedpush.js has to be set to?
>
I believe simplePush is included when running on open shift,  but if you
are not running on open shift,  then it is not included by default



> I would be happy to be enlightened :P Thanks in advance
>

One thing to note though with SimplePush is that the Browser and the page
need to be open.  Chrome And Firefox now have support for WebPush, which is
basically the successor to SimplePush.  I know push will work on Chrome
using the UPS(you just need to use the Android Varian) but i'm not yet sure
about FF.  I can put a JIRA in place for that

>
> Cheers
>
> Sascha
> _______________________________________________
> 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/20160318/9e1b6685/attachment.html 


More information about the Aerogear-users mailing list