I use FCM API push notification for my Android app. When my app is running on foreground and background, it's fine, but when my app is closed, I don't receive any notification from FCM.
I need a solution for this problem, like Gmail app. It can receive notifications when app is closed or killed.