I want to set a custom notification layout for my fcm notification received by flutter app . I have already created notification layout using xml but i am having trouble integrating it with my flutter android app .
Things i have done :
- I have read through Custom Notification by developer.android
- Have already set up my custom_notification_layout.xml
- Have also designed a notification handler for flutter code.
Thing I want
When the fcm notification arrives , the app shows my own custom layout and behave the same way as any other notification does :
- opens my Flutter and passes Remote Message to
FirebaseMessaging.onMessageOpenedApp.listen(_handleMessage)
Any help will be highly appreciated Thank You .