I have implemented FCM push notification in my android application. Push notifications are received under normal circumstances. My scenario is:
- Turn off the phone.
- Send the FCM push notification to the Token generated using
FirebaseInstanceId.getInstance().getToken()
- Turn on the phone. (Notification not received)
- Open the application. (Notification not received)
Shouldn't the phone receive the notification the phone is switched on. I tested FCM for another scenario.
- Turn off the internet
- Send the FCM push notification to the Token generated using
FirebaseInstanceId.getInstance().getToken()
- Turn on the internet. (Notification received)
Why is FCM notification not received when device is just booted?