Closed AlexDevMobile closed 2 months ago
Hi @AlexDevMobile,
I am glad you find the library useful.
I managed to reproduce your issue and fixed it hopefully. Please try the newest 4.1.3 release of SimpleToolkit.SimpleShell.
Hi,
Thank you for your support and sorry for the delay, but the provided solution worked correctly and the error no longer occurs .
Again, thank you for facilitating shell customization with your project.
First of all, I would like to thank you for developing and sharing SimpleToolkit. I have found it to be a very useful tool for .NET MAUI development.
I am encountering an issue when trying to reset the navigation in my application. The flow of my application is as follows:
To achieve this, I am using the following code in the logout method:
The problem occurs when I try to execute this line from another screen (for example, from a settings page or a main page). My intention is to completely reset the navigation and clear the history so that the user returns to the login screen without any trace of the previous session.
However, when executing Application.Current.MainPage = new AppShell();, I am encountering the following error:
I would appreciate any insights or guidance on resolving this issue. My intention is to completely reset the navigation and clear the history, ensuring the user returns to the login screen without any traces of the previous session.
Thank you once again for your contribution to the community and for your assistance in this matter.