Forum Xamarin Xamarin.Forms

There is a way to verified a route is correctly registered to my Shell?

Hello everyone, before everything, there is some context.
I implement URL Schemes and App Shortcuts to my app.
App Shortcuts are dynamicly create with correct routes to navigate, so there is no problem.

But URL Schemes is different, it's could have a correct routes, which should navigate to the correct screen, or a unkonwn path, which lead to a Page which will be construct with a JSON dynamicly.

I tried to use Shell.Current.GoToAsync() with a wrong path with a try catch, but I didn't catch a Exception telling me there is no matching routes.

There is a way to verified a route is correctly registered to my Shell or track a try to navigate to a wrong route?

Tagged:

Best Answer

Answers

Sign In or Register to comment.