Xamarin.Forms
                                
                                 Xamarin.Forms copied to clipboard
                                
                                    Xamarin.Forms copied to clipboard
                            
                            
                            
                        Shell.Current.Navigation.PopAsync()
Xamarin Forms, test in Andriod SDK10 Xamarin.Forms 5.0.0.2012 ERROR
 await Shell.Current.Navigation.PopAsync();
System.ArgumentException
  Message=Ambiguous routes matched for: //Flyout/IMPL_ProjectsPage/ProjectsPage/FoldersPage matches found: //Flyout/IMPL_ProjectsPage/ProjectsPage/FoldersPage,//Flyout/IMPL_ProjectsPage/ProjectsPage/FoldersPage
Parameter name: uri
ShellUriHandler.GetNavigationRequest (Xamarin.Forms.Shell shell, System.Uri uri, System.Boolean enableRelativeShellRoutes, System.Boolean throwNavigationErrorAsException, Xamarin.Forms.ShellNavigationParameters shellNavigationParameters) D:\a\1\s\Xamarin.Forms.Core\Shell\ShellUriHandler.cs:207
ShellNavigationManager.GoToAsync (Xamarin.Forms.ShellNavigationParameters shellNavigationParameters) D:\a\1\s\Xamarin.Forms.Core\Shell\ShellNavigationManager.cs:44
ShellSection+NavigationImpl.OnPopAsync (System.Boolean animated) D:\a\1\s\Xamarin.Forms.Core\Shell\ShellSection.cs:1070
Xamarin.Forms 5.0.0.1931 There is no mistake
@EvgenyPrikhodko Could you attach a small sample where reproduce the issue?, could you share the registered routes?, happens on Android and not on iOS?
I have the same issue. in Android and iOS.
System.ArgumentException Message=Ambiguous routes matched for: //main/IMPL_dashboard/dashboard/tasks matches found: //main/IMPL_dashboard/dashboard/tasks,//main/IMPL_dashboard/dashboard/tasks Parameter name: uri
I had the same issue yesterday when I upgraded to XF 5.0.0.2012 and yes downgrading to XF 5.0.0.1931 worked for me as well.
I got the same issue
I was getting same issue when navigated to page await Shell.Current.Navigation.PushAsync(popUpPage); then to next one using Shell.Current.GoToAsync and from current one i used to do and then issue occurs.
await Shell.Current.Navigation.PopAsync();
If i use PushAsync all the way issue dissapears.
Register the root of the shell only once. In my case, I had a similar problem because I had registered the route in both xaml and code-behind. I only registered the route in xaml and it works fine.
Register the root of the shell only once. In my case, I had a similar problem because I had registered the route in both xaml and code-behind. I only registered the route in xaml and it works fine.
I only register my bottom tab on code behide but still have this problem
having same issue...
I have attached a small sample where I have reproduced this issue. https://github.com/nabilakhlaque/Xamarin-forms-navigation-issue
any update on this