iOS doesnt allow client side notifications, so we first have to invent a private notification server scheme, that's MIP 5 https://github.com/marmot-protocol/marmot/pull/18
On Android the client keeps running in the background and checks for new messages to notify you every 30 seconds.