Le 09/10/2014 15:15, michel.gutier...@gmail.com a écrit :
> Hi,
>
> I am trying to implement push notification in my turnbased-games apps.
>
> The simple push API itself works fine: i can register/deregister endpoints, 
> see registered endpoints and receive notifications.
>
> BUT, this only works when the app is running. If the app is not running, 
> nothing happens, while my app server keeps sending notifications every minute 
> or so, incrementing the version number.
>
> 1/ am i right to assume the OS should launch the app upon receiving a 
> notification ?

I just want to make sure that you actually registered a system message
handler as explained in
https://developer.mozilla.org/en-US/docs/Web/API/Simple_Push_API ?

>
> 2/ i've read that there was a bug preventing the app to be woken up on a page 
> that is different from the one that registered the notification. Is this 
> still true in ffos 1.4 ?

I think that's never been true :)
What's true however is that the system message won't be sent if your app
is already opened in any page (bug 818000).

-- 
Julien

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to