Thanks Antonio, but the system messages are delivered successfully in my case.
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. -Michael On Sunday, August 4, 2013 11:05:01 PM UTC+2, ANTONIO MANUEL AMAYA CALVO wrote: > Might this be the same problem described at > https://bugzilla.mozilla.org/show_bug.cgi?id=888609? > > > > The problem is that if a message is delivered after the app has started > running but before it has set the message handler, the message is lost. > > > > Best, > > > > Antonio > > > > > > On 04/08/2013, at 21:55, "Michael Diener" > <[email protected]<mailto:[email protected]>> wrote: > > > > Quick question as I could not find an issue in bugzilla: Is it known, that > under certain conditions onclick of a notification does not get called (for > B2G 1.0 and 1.1)? For example it is almost always reproducible, if a page is > loaded because of navigator.mozSetMessageHandler (through navigator.mozAlarms > or Simple Push) and is not yet in the background and there is a "cpu" > wakelock. Even without an explicit wakelock this seems to happen sometimes, > if the page loaded for the first time into memory. > > Again, this is just to check that this is not a known issue, otherwise I'll > file a bug in bugzilla. > > > > -Michael > > _______________________________________________ > > dev-b2g mailing list > > [email protected]<mailto:[email protected]> > > https://lists.mozilla.org/listinfo/dev-b2g > > > > ________________________________ > > > > Este mensaje se dirige exclusivamente a su destinatario. Puede consultar > nuestra pol?tica de env?o y recepci?n de correo electr?nico en el enlace > situado m?s abajo. > > This message is intended exclusively for its addressee. We only send and > receive email on the basis of the terms set out at: > > http://www.tid.es/ES/PAGINAS/disclaimer.aspx _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
