Replies: 5 comments
-
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
Beta Was this translation helpful? Give feedback.
-
This issue has been verified using Visual Studio 17.11.0 Preview 2.1(8.0.61 & 8.0.40). Can repro on Android platform. |
Beta Was this translation helpful? Give feedback.
-
Currently shell only really supports being the root page and you can only have one shell We should throw better exception messages to make the platforms consistent. |
Beta Was this translation helpful? Give feedback.
-
Use case is there. Bug is only present on specific platform. I think converting it from a bug report into a topic for discussion is the wrong way to actually getting further with the software |
Beta Was this translation helpful? Give feedback.
-
To date the only way to switch to a new Shell is to assign it to the MainPage, but there are Memory Leak problems |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I make a NavigationPage that navigates to a Shell. When I press the back button on my Android device, it crashes the app. It works on Windows.
Steps to Reproduce
Create a new .NET Maui app
Create a ContentPage with a button to navigate to a new AppShell
Change the App.cs to this:
public App()
{
InitializeComponent();
Now, when the app starts in the ContentPage, you can navigate to the Shell. But when you press back on Android, it crashes. With Windows it works.
Link to public reproduction project repository
https://github.com/gianox/MauiShellNavCrash
Version with bug
8.0.61 SR6.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
Beta Was this translation helpful? Give feedback.
All reactions