[Webview] event unload never called #4669
Labels
area-controls-webview
WebView
platform/android 🤖
s/needs-attention
Issue has more information and needs another look
t/bug
Something isn't working
Description
I load one of my website into a webview on the main Page of my .net MAUI App
In this webapp, i use to register event unload in js to properly disconnect my user
But inside the maui app, this event seem never call
If i press back or home button, its not call, but why not, if the behavior is to put the app in background
However, when the app is push back in first plan or reopened, the webview reload, so the previous instance was never relly closed.
actually, this also related to #4169, because without nothing put the app back in first plan make it crash, so i follow #4169 (comment) to make it work
Maybe the resolution of the issue below will have an impact on my problem
Steps to Reproduce
Version with bug
Preview 12 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 11
Did you find any workaround?
not any. i try to override the OnDisappearing of my main page to see if y can close my webview with a method but it seem there is nothing available
Relevant log output
No response
The text was updated successfully, but these errors were encountered: