Closed MakerMarty closed 3 years ago
Hello, this should be fixed in the next version wich is coming very soon. I just have to check it in the new code.
FYI the new versions of XF have broken hard my plugin with shell, expecially in ios, the new version has been delayed a bit because of this
Ok. Great ! Thanks for you help. I'm looking forward to the latest version ☺️
Hi,
I think I found an issue with your plugin. When I use the Shell with PopToRootAsync() method, an unhandled exception is thrown.
I use the sample project in your github repo and I only add a button on navigated page (ImageSampleTo.xaml). I call Navigation.PopToRootAsync() when I click on this button, I have the exception.
Please see the bug detailed bellow and let me know if you need more information.
Thanks for your help.
Bug Information
Version Number of Plugin: 2.30 Device Tested On: Simulator Tested On: Simulator Android Pixel 2 Pie 9.0 (API 28) Version of VS: Microsoft Visual Studio Professional 2019 - Version 16.7.2 Version of Xamarin: 4.6.0.1141
Steps to reproduce the Behavior
I use the defaut sample projet and into the ImageSampleTo.Xaml, I add button with click execute PopToRootAsync.
Expected Behavior
Go the the root page
Actual Behavior
Exception unhandled : Java.Lang.IllegalArgumentException: 'No view found for id 0x2 (unknown) for fragment ShellFragmentContainer{1fe5070 #0 id=0x2 android:switcher:2:664218702}'
Code snippet
ImageSampleTo.xaml
ImageSampleTo.xaml.cs