Once Mozilla sticks SimplePush into FirefoxOS - you will also receive messages, on a FFOS devices, when the app is NOT running :)
But, we are very early here :) 

Ideally, there will be native support in Chrome etc, in the near future, as Kris already mentioned

-M


On Mon, Jun 3, 2013 at 7:59 PM, Matthias Wessendorf <matzew@apache.org> wrote:



On Mon, Jun 3, 2013 at 7:53 PM, Hylke Bons <hbons@redhat.com> wrote:
On 03/06/2013 18:45, Matthias Wessendorf wrote:
> I would treat Cordova native:
> -Cordova-Android-Variant
> -Cordova-iOS-Variant
>
> Of course, with SimplePush, the apps can receive notifications as
> well, but the "background" (not actively running), would not be
> possible (at least now)
>
> -Matthias
>

So do Cordova hybrid based apps use their respective "native" push
networks (Apple's/Google's) SimplePush only? (or either?) I guess
non-hybrid Web apps can only use SimplePush?

I'd use the native Push APIs (GCM / APNs), for my iOS/Android Cordova variants.

You can use our SimplePush libraries, with Cordova. But.... you would NOT receive a notification, if the application is not running/open


SimplePush is perfect, right now, for "Mobile Web", and would be fine for Cordova, where we do (yet) support the native bindings (e.g. BlackBerry, Windoze etc)

-Matthias 

 

Hylke
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev





--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf