xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.64k stars 1.88k forks source link

[Bug] Application Crashes When Re-entering a Page Containing a WebView After Navigating Back on Android 13 using Xamarin.Forms V5.0.0.2578 #15778

Closed BrickBios closed 11 months ago

BrickBios commented 11 months ago

Description Application Crashes When Re-entering a Page Containing a WebView After Navigating Back on Android 13 using Xamarin.Forms V5.0.0.2578

Steps to Reproduce Open the activity containing the WebView. Navigate back using the back button. Try to re-enter the page containing the WebView.

Expected Behavior The WebView should open without any issues when attempting to open it multiple times. Unhandled Exception: Android.Views.InflateException (EXCEPTIONDISPATCHINFO error.txt )

Actual Behavior The WebView throws an error when opened for the second time.

Basic Information Visual Studio 2022 version version 17.6 Version with issue: Xamarin.Forms : V5 .0.0.2578, Visual.Material : V5.0.0.2578

Platform Target Frameworks: Android: Android 13 Android: Android 12 Android: Android 11

jfversluis commented 11 months ago

Without any reproduction project or at the very least relevant code this will be very hard to diagnose.