You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Page3 back button (from Shell navigation bar): fails on Android ❌ (Shell: Failed to Navigate Back: System.ArgumentException: unable to figure out route for: //D_FAULT_TabBar4/page1/D_FAULT_ShellContent3/page1/page2), works on iOS ✔
With data,
Page1 calls: Shell.GoToAsync("page1/page2?data=1"), fails on Android/iOS❌Relative routing to shell elements is currently not supported. Try prefixing your uri with ///: ///page1/page2?data=1
Page2 calls: Shell.GoToAsync("page1/page2/page3?data=1"), fails on Android/iOS❌Relative routing to shell elements is currently not supported. Try prefixing your uri with ///: ///page1/page2/page3?data=1
Expected Behavior
Shell routing behaviour should work the same as 4.8
Description
Registered routes behave differently when using
Shell.GoToAsync
(XF 5.0 and up).Steps to Reproduce
The navigation routes will look like the below,
Without data,
Page1 calls:
Shell.GoToAsync("page1/page2")
, shows Page2 ✔Page2 calls:
Shell.GoToAsync("page1/page2/page3")
, shows Page3 ✔Page3 back button (from Shell navigation bar): fails on Android ❌ (
Shell: Failed to Navigate Back: System.ArgumentException: unable to figure out route for: //D_FAULT_TabBar4/page1/D_FAULT_ShellContent3/page1/page2
), works on iOS ✔With data,
Page1 calls:
Shell.GoToAsync("page1/page2?data=1")
, fails on Android/iOS❌Relative routing to shell elements is currently not supported. Try prefixing your uri with ///: ///page1/page2?data=1
Page2 calls:
Shell.GoToAsync("page1/page2/page3?data=1")
, fails on Android/iOS❌Relative routing to shell elements is currently not supported. Try prefixing your uri with ///: ///page1/page2/page3?data=1
Expected Behavior
Shell routing behaviour should work the same as 4.8
Actual Behavior
Shell routing behaviour is different in 5.0
Basic Information
Reproduction Link
BrokenShellRoutes.zip
The text was updated successfully, but these errors were encountered: