I'm using firebase for push notifications on both my android and iOS app with everything working fine. If I reboot the device, the push notifications do come though, but after a period of time (around 1 - 2 minutes). WhatsApp on the other hand manages to fire push notifications almost immediately. I'm wondering how I can obtain this kind of performance. I've read that on android I could start a background service on boot up, but what good would that do?
Android push notifications after device reboot
The only thing I can think to do in a background service from boot up is to subscribe to push notifications again, but I doubt this would speed up the process of getting them?