Hey guys,
I have a question, is there a special way I have to handle push notifications when:
a) On iOS and Android: the device is locked, a push comes in and the user unlocks the device with the swipe to unlock instead of clicking on the notification (the app seems to not be passing through the push() method)
b) On iOS and Android: the app hasn't been started and a push comes in (the app seems to not be going through the push() method).
c) on Android, when you let the app sitaround for a while, it enters a sort of inactivity mode in which the app simply won't receive any push notifications until you enter the app once again. I read somewhere that you could control this with something called a "heartbeat" in Android, which is the frequency in which the device signals GCM servers that it is active, but maybe you know a bit more about this or how to properly increment the heartbeat frequency.
Thanks.