I have an app with both a hybrid mobile version and a web version. When the hybrid mobile version loses connection (say, the phone is turned off while traveling), I want it to replay all the missed Pubnub messages.
the restore: true option available in the subscribe() method seems perfect, but I'm not sure how far back in time it will go. What if I have a user who turns off her phone for a week long hiking vacation? Would it reply a weeks' worth of messages?