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 was archived by the owner on Apr 8, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 8, 2026. It is now read-only.
Your problem is little blurry for me, I think this is related to your app logic not Shell or navigation system.
If you need to enable or disable your button base on some condition, you need to do it in your app logic not disable or enable routes. basically routes in app should be affected and this is the best practices.
Maybe you need to add or remove dynamically routes and then you need to use Registrar to do it. You can find Registrar in Navigator or from DI you can find INavigationRegistrar
Activity
OmidID commentedon Sep 8, 2024
Hello @munzili
Your problem is little blurry for me, I think this is related to your app logic not Shell or navigation system.
If you need to enable or disable your button base on some condition, you need to do it in your app logic not disable or enable routes. basically routes in app should be affected and this is the best practices.
Maybe you need to add or remove dynamically routes and then you need to use Registrar to do it. You can find Registrar in Navigator or from DI you can find
INavigationRegistrarIt help if you send screenshots and more clarify
Thanks