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
It seems like to DispatchQueue with Background QoS has long delay. I just printed log in Line 998 (before queue), and Line 1003 (in queue). In some cases, the time between the two logs being output was as long as one minute.
Expected Behavior
It should be execute (almost) immediately, still not affecting main thread.
Steps with code example to reproduce
It is very difficult to reproduce issue but it occurs explicitly.
Prepare the device with cleaned iOS. (In Simulator, you can reproduce this behavior with Device -> Erase all content ...)
Load any page with HeadlessInAppWebView. (I don't verify that this issue can be produced by general webview instance)
In first loading, there is too many times to load page including assets such as css/js/image, etc.
Stacktrace/Logs
There is no stacktrace, but attach some logs for debugging.
WebView Console (Safari Technology Preview)
Flutter version
v3.26.0-0.1.pre
Operating System, Device-specific and/or Tool
iOS 18
Plugin version
v6.1.4
Additional information
I have commit (nnnlog@6a0c192) already. I write this issue for opening PR.
Self grab
I'm ready to work on this issue!
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.
Is there an existing issue for this?
Current Behavior
In the iOS, first-time loaded page is very slow to complete load(generally
DOMContentLoaded
).flutter_inappwebview/flutter_inappwebview_ios/ios/Classes/InAppWebView/WebViewChannelDelegate.swift
Lines 993 to 1010 in 226ebc5
It seems like to DispatchQueue with Background QoS has long delay. I just printed log in Line 998 (before queue), and Line 1003 (in queue). In some cases, the time between the two logs being output was as long as one minute.
Expected Behavior
It should be execute (almost) immediately, still not affecting main thread.
Steps with code example to reproduce
It is very difficult to reproduce issue but it occurs explicitly.
Device -> Erase all content ...
)HeadlessInAppWebView
. (I don't verify that this issue can be produced by general webview instance)Stacktrace/Logs
There is no stacktrace, but attach some logs for debugging.
WebView Console (Safari Technology Preview)
Flutter version
v3.26.0-0.1.pre
Operating System, Device-specific and/or Tool
iOS 18
Plugin version
v6.1.4
Additional information
I have commit (nnnlog@6a0c192) already. I write this issue for opening PR.
Self grab
The text was updated successfully, but these errors were encountered: