I'm trying to get FCM message in different situations, while the app is running in foreground or background. In one case while I FORCE STOP the application then restarting the phone, the FCM message isn't showing in notification bar. I assume that restarting means the FCM services should be run and I can fetch the messages.
In Android-manifest, I define RECEIVE_BOOT_COMPLETED for a receiver to call FCM service.
Can somebody help me here ?