[aerogear-dev] Coldstart notification

Miguel Lemos miguel21op at gmail.com
Mon Feb 24 08:16:53 EST 2014


According to the documentation it's possible to decide what the
notification triggers depending if the app is running or is in the
background.


if (e.foreground) {
       alert(e.alert); // whatever...
      }
    else {
            if (e.coldstart) {
                // ?
            }
            else {
                // ?
            }
    }

Maybe I didn't understand well the scope of this, because whatever I put
inside the coldstart it always triggers what is in the foreground event.

Thanks

M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140224/604c95c0/attachment.html 


More information about the aerogear-dev mailing list