You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the example application on macOS and perform a hot restart, I get the following exception: [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(recreating_view, trying to create an already created view, view id: '0', null)
Expected Behavior
The widget tree is rebuilt and a fresh instance of InAppWebView is created without throwing an exception.
Steps with code example to reproduce
Steps with code example to reproduce
// Paste your code here
Stacktrace/Logs
Stacktrace/Logs
<Replace this line by pasting your stacktrace or logs here>
Flutter version
3.24.4
Operating System, Device-specific and/or Tool
macOS
Plugin version
6.2.0-beta.1
Additional information
No response
Self grab
I'm ready to work on this issue!
The text was updated successfully, but these errors were encountered:
For unknown reasons, the Flutter PlatformView is not disposed automatically on Hot Restart.
It works as expected on Android, iOS, and Windows but not on macOS.
I think this has something to do with how Flutter manages the native PlatformView under the hood as this plugin is using the Flutter official API to render native views.
Probably, you should open an issue on the Flutter official repo and you can mention this issue.
Is there an existing issue for this?
Current Behavior
When I run the example application on macOS and perform a hot restart, I get the following exception:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(recreating_view, trying to create an already created view, view id: '0', null)
Expected Behavior
The widget tree is rebuilt and a fresh instance of
InAppWebView
is created without throwing an exception.Steps with code example to reproduce
Steps with code example to reproduce
// Paste your code here
Stacktrace/Logs
Stacktrace/Logs
Flutter version
3.24.4
Operating System, Device-specific and/or Tool
macOS
Plugin version
6.2.0-beta.1
Additional information
No response
Self grab
The text was updated successfully, but these errors were encountered: