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 }}
Repository navigation
[P1][HR][Gaps][Navigation] Adding/removing a RouteMap at runtime has no effect #3072
Sub-issue of unoplatform/private#926. Tracked from the HR/HD test matrix.
Current behavior
Adding or removing a RouteMap at runtime via Hot Reload has no effect — the new/changed routes are not picked up by the navigator until the app is restarted.
Expected behavior
Edits to the route registration code (App.xaml.host.cs or wherever RouteMaps are registered) should apply via Hot Reload so newly added routes can be navigated to, and removed routes should stop resolving, without requiring an app restart.
How to reproduce
Run an Uno.Extensions navigation sample (e.g. Chefs).
While the app is running, add a new RouteMap entry to RegisterRoutes (e.g. new RouteMap("NewRoute", View: views.FindByViewModel<NewModel>())).
Apply Hot Reload.
Try to navigate to the new route via XAML or code-behind — it does not resolve.
Repeat with removal — removed routes still resolve until restart.
Goal
Make RouteMaps registration HR-aware so route additions/removals/edits apply at runtime.
Once fixed, add a regression test in the Hot Reload testharness that mutates RegisterRoutes and asserts the new/removed route is honored.
Priority
Failing scenario — high priority for 6.5 / .NET Conf 2025 demo readiness.
changed the title [-][HR][Gaps][Navigation] Adding/removing a RouteMap at runtime has no effect[/-][+][P1][HR][Gaps][Navigation] Adding/removing a RouteMap at runtime has no effect[/+]on Apr 30, 2026
Activity
[-][HR][Gaps][Navigation] Adding/removing a RouteMap at runtime has no effect[/-][+][P1][HR][Gaps][Navigation] Adding/removing a RouteMap at runtime has no effect[/+]test: Add HR runtime tests for #3072, #3075, #2904
test: Add HR runtime tests for #3072, #3075, #2904
test: Add HR runtime tests for #3072, #3075, #2904