Hello,
Welcome to our Microsoft Q&A platform!
I notice you register ServiceViewPage
in the AppShell.xaml.cs
with following code.
Routing.RegisterRoute($"{nameof(ServiceViewPage)}", typeof(ServiceViewPage));
But when you navigated page with name of Service s ViewPage, add S in your following code.
await Shell.Current.GoToAsync("//HomeViewPage/AboutPage/ServicesViewPage");
And you used different way to navigate. Following way is Absolute routes, This navigates to the page for the ServicesViewPage route, with the route being defined on a ShellContent object. The ShellContent object that represents the ServicesViewPageroute is a child of a FlyoutItem object, whose route is AboutPage or HomeViewPage. Did you define it in your appshell.xaml
await Shell.Current.GoToAsync("//HomeViewPage/AboutPage/ServicesViewPage");
Here is Relative routes
with await Shell.Current.GoToAsync(nameof(ServiceViewPage));
, I recommand you to use this way to make a test.
You can see this article about it.
If this issue is still existed, could you share your demo to GitHub, then post demo thread to here. I will help you to do some further troubleshooting.
Best Regards,
Leon Lu
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.