Thanks for reply. As mentioned in the document when Configuring the Android application for notifications in Override FirebaseMessagingService to handle messages
The Incoming messages are converted to a local notification with the SendLocalNotification
method. This method creates a new Intent
and places the message content into the Intent
as a string Extra
. When the user taps the local notification, whether the app is in the foreground or the background, the MainActivity
is launched and has access to the message contents through the Intent object
. This also sends the message directly to the current MainPage
instance with the SendMessageToMainPage
method.
If you want to redirect to a specific page when the app is opened try overriding OnNewIntent
method in MainActivity
class and navigation
Xamarin.Forms.Application.Current.MainPage.Navigation.PushAsync(new Views.AboutPage());
Refer to below discussion links might be helpful:
https://forums.xamarin.com/discussion/176711/redirect-to-specific-page-when-firebase-notification-tapped
https://forums.xamarin.com/discussion/152168/open-specific-page-when-click-on-push-notification