I am going to use Firebase cloud messaging in my Android App to send reminder and notifications to users to get them more engaged with my app.
For that reason, I want to have a custom look of the notification. I have gone through the Cloud Messaging documentation but it only shows how to receive and build a notification when the app is in the foreground. The same does not work if the app is in the background. If the app is in the background then a normal notification is shown.
I have gone through many posts stating that I can leave the notification field blank and can put data on the data field but for me, the main problem is that I am not using my custom server to dispatch notification but I am using the Default Notification composer provided by Firebase.
Is there any way to show custom layout using Default Firebase Notification Composer irrespective of if the app is in the foreground or background?
Any Help will be grateful.