-
Notifications
You must be signed in to change notification settings - Fork 53
The app crashes with SimpleShell #35
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
Comments
Hi @ziomek64, thanks for informing me about the issue. Where exactly do you call |
It happens in OnAppearing for my login page. The app doesn't crash when its commented or with normal shell
Should simple shell be installed in platform specific projects too or not? |
Hi @ziomek64, I have finally tried to take a look at this issue. However, I probably will not be able to fix it because of the way how creating a handler for a A workaround to this issue is to delay the navigation using
The delay is needed only on the first navigation to the initial page. On subsequent navigations to that page and on other pages it should not be needed. And by the way, I currently do not plan to continue developing the SimpleToolkit.SimpleShell.Controls package, so I do not recommend using that. |
Hello,
I've just stumbled upon your SimpleToolkit and I wanted to implement it. It looks awesome, has some stuff that I need and also Material3 TabBar in Controls.
Right now I'm getting unhandled exception:
Java.Lang.IllegalArgumentException: 'No view found for id 0x5 (unknown) for fragment SimpleFragment{acb1dc6} (0b7617ee-9aaa-4da3-88ab-d0e65a35f48c id=0x5)'
I'm trying to follow the guide to have basic implementation for starters and I swapped everything for SimpleShell. So I'm gonna give you a tour over it.
MauiProgram.cs
App.xaml.cs
AppShell.xaml. I have login page route and the main one with tab bar.
When I'm loading the app on that login page, it checks for token on apperance etc and goes to main route. I'm pointing this out now that I've also tried with just Shell
This is the only Shell and navigation stuff that happens and I'm crashing. When I'm swapping everything back to Shell it will load my app. So I've need some help, because maybe I'm missing something. Are all toolkit nugets supposed to be installed on platform specific projects too? Because I didn't get an option to do so. Just the main one. Which might be the problem..
From my main project file:
I don't have 34 after android like in nuget requirements. But yeah it's targetting 34. I don't have 34 because the app just wouldn't start with numbera after android, after .net 8 upgrade.
The text was updated successfully, but these errors were encountered: