The Android push notifications through FCM actually treats the Data Messages as notification messages itself . As the interactions in the data messages are handled by the app itself, FCM’s work is just to deliver a notification and the message content.
Read moreHow can I get Firebase notification when app is in background?
To get notification data when your app in the background, you should add click_action inside notification payload . “Put that intent-filter on your manifest, inside application tag.” you can’t put intent-filter inside application tag.
Read moreIs Firebase good for push notification?
Firebase Cloud Messaging (FCM) provides a reliable and battery-efficient connection between your server and devices that allows you to deliver and receive messages and notifications on iOS, Android, and the web at no cost.
Read more