Push Notification Tap Navigation Blazor MAUI Hybrid

222 views Asked by At

We are receiving Push Notifications from Firebase like this:

 CrossFirebaseCloudMessaging.Current.NotificationTapped += (sender, e) =>
 {
     System.Diagnostics.Debug.WriteLine("Tapped");
     //Navigate here
 };

We would like to navigate the user to a Blazor MAUI Hybrid page /help when the user taps on the notification. Usually we are using the NavigationManager to change page but how can we utilize inside of the MauiProgram.cs?

0

There are 0 answers