I am new to Firebase and I want to implement FCM to send notifications from firebase console. I created FirebaseMessagingService in my app, my only question is does FirebaseMessagingService survives device reboot? What if the device is rebooted and then a notification message comes from cloud?
The firebase services get started when the device comes back from reboot and when the device is not ON the notification remain in pending state for at least 4 week, so when the device is on then all pending notification are delivered.
Please have a look at this documentation Firebase