Recently i face this problem i solve this issue by autostart
Ref : https://docs.telerik.com/platform/knowledge-base/troubleshooting/troubleshooting-cannot-receive-push-notifications-on-android-when-the-app-is-closed
Not For Only Firebase
some Android devices cannot receive push notifications when the app is closed. The app can receive push notifications when it is running, either in the foreground or in the background.
Cause
On these devices most of the apps are not permitted by default to be
awaken in the background. This way the app cannot process the received
push notification when it is not running.
Currently, this behavior is identified only on devices from the following manufacturers:
Solution
You need to modify certain settings on your device.
Huawei devices
Open Settings → Protected Apps
Place your application in the list
Xiaomi devices
On the app screen tap on the Security app Select Permissions →
Autostart Locate your app in the list and enable "Autostart" Restart
the device
Asus devices
Locate the Auto-start Manager as noted here Locate your app in the
list and enable "Allow"
Edit 2
Get More Info From Here
https://github.com/firebase/quickstart-android/issues/41