How to navigate to a particular screen when notification is clicked?

I want to navigate to a particular screen when a user clicks the notification but I am unable to find a solution for that. Can someone please help?

share a bit code, i mean what you tried?

Whats the Problem? On the Click Function call the NavController?

As I am new to this and this is my first application I dont know how to navigate when notification is clicked. For now, when the notification is clicked, home page of app is displayed.

how do you receive Notifications?

Currently I am using firebase to receive notifications.

Did you implement the onMessage Handler?