> requesting a wake-lock alone is not enough to keep your app alive, you 
> 
> also need to be waiting for some kind of system message and I'm not sure 
> 
> if the geolocation service counts towards that.

Thanks, but sorry, I don't get it yet. So the app has to listen to a system 
message? Which one should that be? 
And is there a lifecycle event that notifies the app that it is about to be 
discarded? I'm not shure the window.onclose event would be the right one... 
_______________________________________________
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to