-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidOperationException: You must use NaluShell to navigate with INavigationService, in sample project #24
Comments
@sumowesley on which platform are you running the Sample application? |
It's on Windows 11, @albyrock87 |
@sumowesley thanks for your bug report.
I created a branch https://github.com/nalu-development/nalu/tree/windows-desktop-support to add compatibility with Windows platform, but I see a ton of issues.
Considering that I'm talking to MAUI team in order to see how to solve the situation, but for now, I must say that As soon as I have a workaround I will publish a new version of |
@albyrock87, I'm very grateful for your detailed response and appreciate your focus; our experience of MAUI on Windows is mixed, at best. I'll track the branch to check for updates, but I fully understand that you're dependent on changes elsewhere. I'm also very grateful for your quick response. |
@sumowesley I just managed to make it work, see attached PR which will be released in a bit as If you just want to try it out, checkout the latest Memory leaks are still there, and the background color on the You can see the icon is there, but I couldn't set the background color anywhere. If you want to chat I'm available on Discord with the same username. |
Hi @albyrock87, I've pulled the main and have it running. I see what you mean about the memory leaks: moving from one to three and back tells me that ThreePage is still alive, and the same with SixPage if I follow the navigation. I started to add your navigation to one of my projects yesterday. I'll update it to 3.0.3 when available and see if I make more progress (it prompted me to look at your Sample project when I stalled). Many thanks for getting something going so quickly. |
Describe the bug
When running the Nalu.Maui.Sample: Before seeing any screens, I get the InvalidOperationException (You must use NaluShell to navigate with INavigationService). The project is unchanged from the download.
I'm keen to explore the library further and would love to see a comparison with the MAUI navigation in the Nalu.Maui.DefaultShellSample.
Steps to reproduce
Expected behaviour
I'd expect to see a starting screen so I can see the operation of the navigation.
The text was updated successfully, but these errors were encountered: