On Thursday, October 9, 2014 3:15:37 PM UTC+2, [email protected] wrote:
> 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 ?
> 
> 
> 
> 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 ?
> 
> 
> 
> Thanks.

Here's a ref app (client+server) fro SimplePush that also works without app 
open. https://github.com/janjongboom/push-server
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to