I'm writing an android app where it forwards every notification on the device to GCM, which then subsequently sends to the registered chrome extension. Everything works fine except when my extension go offline for a while then back online, it will receive all messages queued up while extension was offline. This is not the behavior I want. I want to message to be discarded if the recipient is offline.
How can this be done?
Thanks