On Mon, Aug 5, 2013 at 10:18 AM, Michael Diener <
[email protected]> wrote:

> Thanks Antonio, but the system messages are delivered successfully in my
> case.
>

Yep, gecko queues the messages waiting for the message handler to be set.


>
> When they are delivered, the endpoint page is not yet in memory and gets
> loaded successfully so the message handlers are triggered. Then my code in
> that handler acquires a wakelock and displays a notification. This
> notification is successfully displayed, but onclick is not called when
> clicking the notification.
>

You should be able to register for the "notification" system message in
order to be notified of the notification click even if your app got killed
(and the notification.onlick handler gced).
--
Etienne
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to