Ios 15 Wkwebview Issue, 1 I have mange to get the native Swift code that can be used to recreate this issue.
Ios 15 Wkwebview Issue, The issue stemmed from iOS 15’s stricter enforcement of frame validation during WKWebView initialization. returnCacheDataElseLoad? What could be the In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding android WebView Hi @titanous, how frequent is the issue? Can you share the errors that you get? Do you experience the same issue with a native iOS application using wkwebview? I have the same issue on iOS 15. xxx" . 1 XCode: 14. ---more Possible Causes: The issue may be related to how WKWebView is handled in the new version of webview_flutter. Actual The issue has existed since at least iOS 26. When a WebView was created with a zero frame (width=0 or height=0), . (Detection) I considered using the user agent to detect iOS 26+, but [iOS 26] [WKWebView] Fullscreen video goes black/unresponsive after seek/time change; app hangs/crashes (Flutter 3. I took a closer look at your GitHub repo and this appears to be a bug in WKWebView, which is the WebKit-based webview on However, this is an overkill as it also clears other things that should be cached longer (e. Also I found someone with the same problem: 文章浏览阅读804次,点赞5次,收藏10次。WKWebView 项目常见问题解决方案一、项目基础介绍项目名称:WKWebView项目简介:WKWebView 是一个开源项目,主要用于在 iOS IOS App get rejected for missing signature for webview_flutter_wkwebview #177023 shankarmadhu27 opened on Oct 14, 2025 Hi all, I encounter a WkWebView BUG that only happens on iOS 15 WkWebView. Use your configuration object to specify: The initial cookies to make available to Scrolling not working on WKWebView on iOS 13 beta Asked 6 years, 10 months ago Modified 2 years, 6 months ago Viewed 6k times [webview_flutter_wkwebview] Crash when restarting in debug mode on iOS – Host platform returned null value for non-null return value #168306 I have a website that a 3rd party has iframed into their iOS app inside a WkWebView. In this case it's crashing when calling WKWebView. images). 0 Create a WebViewController instance in initState () Run the app on a real device or simulator with iOS 18. Just create a native ios project in XCode but do not use 本文深入剖析iOS端WKWebView的顽固问题,从多进程模型出发,详解请求代理与Cookie管理的成因及解决方案,助您构建稳定高效的混合应用。 Overview A WKWebViewConfiguration object provides information about how to configure a WKWebView object. In my case, it is a JavaScript client trying to communicate with Wowza Streaming Engine. Why does WKWebView decide to use . It works fine when the app is running or backgrounded. 7. Once the main wkwebview fixes this issue for iOS 13 as well (see links below), you can stop using this plugin. 1. 1 I have mange to get the native Swift code that can be used to recreate this issue. WebViewWidget issue iOS Could not cast value of type NSNull (0x1ec725448) to 'webview_flutter_wkwebview. I Hello, I would like to report a question, my game project is exported as WebGL and loaded on the phone using WKWebView. 0 (Even with Dependency Override) Description: I am experiencing a crash when attempting In iOS 15 beta 8, Safari/WKWebView is not loading some of the web pages it displays the blank white screen. In order to provide the Note: This won’t reproduce the issue on desktop browsers — it only appears inside certain iOS in-app webviews. Embed a WKWebView object programmatically into your view hierarchy, Since iOS 18. AuthenticationChallengeResponse' (0x10591eef8) Ask Question Asked Keyboard does not work when prompted when focusing on an input field from WKWebView and I wonder how to set the constraints to avoid this issue The page is loading just Learn to build a custom WebView using WKWebView, implementing advanced features for enhanced user experience and seamless web integration. 5. Potential Fixes: Investigate changes to the WKWebView setup in I am getting an "Incompatible Browser" error when trying to load a website using WKWebview. Since iOS 15, "window. The same website loads fine using the Safari browser. I’ve read that this issue was fixed with Issue: iOS App Crash on WebView Open after Updating webview_flutter_wkwebview to 3. 13. 6 and the simulator running iOS 15. I have reproduced it by chance. Switch the app to the background and then to the foreground, and the incomplete image will be rendered correctly again. 1 Safari : 16. Use SFSafariViewController as the default browser if your app wants to How to Enable JavaScript in WKWebView with Swift for iOS: Fix Website Not Loading Issue In modern iOS app development, WKWebView has become the go-to component for The Ultimate Guide to WKWebView Get WebKit into your app the easy way Paul Hudson March 29th 2019 @twostraws WKWebView is a I have a fully developed iOS application listed on the Appstore, in this application, we are accessing the Organisation Sharepoint sites and loading This issue is related to WKWebView after updating to iOS 16. 1 launched as a beta, we've been getting reports from end users on iPhone 15 Pro and iPhone 15 Pro Max specifically. g. When user scrolls the webpage, goes to another page and revisits again the page UI breaks or sometimes goes blank. Is anyone facing the same problem in Safari browser or WKWebview? How to solve this This article comprehensively explains practical methods and common issues in iOS WebView debugging, covering WKWebView architecture, Safari Remote debugging, log capture, and 0 WKWebView can load image or css file from NSTemporaryDirectory, so you can copy your files to NSTemporaryDirectory, Learn how to create a custom in-app browser using WKWebView to seamlessly integrate web content into your iOS applications. (empty page The web page image is not fully displayed, only part of it is rendered. It loads successfully. i'm launching pdf file on WKWebview, it is working as expected that pdf file pages are showing in iOS Simulator but same behaviour NOT working in iOS Realtime devices (iPhone & iPad ). This article comprehensively explains practical methods and common issues in iOS WebView debugging, covering WKWebView architecture, Safari Remote debugging, log capture, I'm using WKWebView in my iOS app to display a web page. Steps to reproduce Add package webview_flutter: ^4. iOS 15 has a problem with playing WebRTC playback, so Discover a quick and effective solution to address `WKWebView` crashes in iOS 15 simulator during the load method. 10 and later. In canvas API, we can use 2d context's drawImage () to draw I just recently updated my app, and when I did so, I noticed that a web view that had been working just fine before the update no longer displays pdfs as it should. 27. It tries to make use of the new async/await functionality (which I I have an iOS application that is attempting to run a HTTP web server in a thread, with a UI that consists of a single WKWebView pointed at that web server (i. I'm just gettign into Bug Report I am using inappbrowser plugin (v4. Safari and WKWebview are all the same, and the same problem occurs regardless of the device. 7, 17614) Question: I want to debug my webview, and I open safari and nothing in the Created attachment 402550 [details] Test project We found a bug in our app (using WKWebView) on iOS 14 developer beta that images that are loaded from another origin don't load What happened? If I use the following code to view a dynamically generated PDF on iOS-WKWebView using jsPDF, the same (first) PDF is shown regardless of any changes to later In contrast, using the recommended wkWebView consistently shows the same ~30s delay when clicking on a link. Built on the same WebKit engine that powers Safari, it brings: Better performance Improved memory Since a while I’m having issues with WebGL : Context Lost preventing my project to start in my app, I use WKWebView and latest version of iOS. I made no modification Other than the user agent, is there anything else that I could be missing out while configuring the wkwebview? Thanks! PS- The whatsmyuseragent url works after adding Had same issue, iOS 12. When X and Y are tapped, the web view changes content as it should. The user creates 2 drawings, and the PDF will show both drawings. 1? If you started experiencing this bug after an iOS upgrade, there's a chance that this Then just clean your platforms/ios directory and rebuild. I've observed this on both an iPhone running iOS 15. 2 (cordova-lib@8. This seems like an overly aggressive jetsam policy for WebKit on iPhone compared to I suspected that the networking process is terminated and it won't restart. only iOS 15 got the issue. The connection fails as soon the client tries to send some data. Due to a bug in webkit, "Version/X" is omitted from the UA string used by WKWebView (used in all non-Safari browsers on iOS, as well as all hybrid apps) in iOS 15. 3 iPhoneX, phonegap, cordova 8. xxx" can not be found and it will return "undefined" when accessing "window. 4, webview_flutter 4. Learn how to resolve this issue now!---Thi Why WKWebView? Apple introduced WKWebView in iOS 8 as a modern replacement for UIWebView. 1), wkwebview origin null is not allowed Planning to hack auth0-js and replace xmlhttprequest with Subject: iOS 26 WKWebView: Remote Pages Become Unresponsive After Loading Local HTML Files Description We're experiencing a critical issue with WKWebView in a React Native 0. The URL loads correctly, but when I tap to enter text in an input field, the view zooms in and shifts In this guide, we’ll walk through how to explicitly enable JavaScript in `WKWebView` using Swift, troubleshoot common issues, and share best practices to ensure your web content loads Thanks @stuartmorgan , this issue bothered me for weeks, but after I ran flutter pub upgrade --unlock-transitive webview_flutter, the Note WKWebView replaces the UIWebView class in iOS 8 and later, and it replaces the WebView class in macOS 10. 4. 3 application With iOS 15 there are another bunch of great improvements to the WKWebView. On the page there are 3 buttons - X, Y, Z. Did something change, are they broken? To explain in more detail, when attempting to use a WebAuthn enabled web application in previous Hi, i am facing a similar Problem since iOS 15. I have tested it in iOS 12, 14 and 15. However, after I quit the app (swipe up) and relaunch it, the WebView It was not a problem in iOS 14, but in iOS 15 beta2, it is forcibly terminated shortly after entering the lobby. 64. , an "Electron"-style app). callAsyncJavaScript, but in my WKWebView's WebProcess runs out-of-process as a 64-bit process on hardware supporting 64bit. e. ---This video is based on the ques How WKWebViews Fail In general, I found that there were two ways that WKWebView could fail, manifesting as a blank white screen: The WebView rendering successfully, but iOS kills its Description It looks like we have an issue with videos on iPhone since iOS 17 (still not patched on latest iOS 17 and iOS 18) with videos that have a poster attribute and are displayed in a Hi, This plugin uses WKWebView on iOS and the latest evergreen webview on Android. It would be great if you could give me some insight about it. When should I consider making content inspectable? A We are using WkWebView for our IOS APP. I solved a similar problem as follows: Search in the workspace UIWebView and replace it with WKWebView Remove UIWebView in the storyboards and add "WKWebView" instead (do not forget Recommandations Use WKWebView as the default browser if your app implements customize behavior (UI or “behind the scene”). 18. It works fine in UIWebview, but when i upgraded to The object you use to manage navigation behavior for the web view. I wonder if anyone knows how to work around this bug. 0. For example, WKWebView doesn't come with the Back/Forward button that lets users navigate back and forth the browsing history. WKWebView and WebAuthn seems broken in iOS 15. 'Open in new Window' attribute in their HTML <a href>-Tag. 0) #176015 alphaSoft99 opened on WKWebView does not open any links which have target="_blank" a. I am using a WKWebView in iOS through a custom control in my . 2 iOS: 16. 0 (22A5326f) Report Version: 104 TL; DR: how one should modify iOS app / WkWebView inside it to send device / user identity information on an Intune-enrolled device, so that we I am displaying a web page in WKWebView. As a reminder, with iOS 14 we got JavaScript sandboxing, better ways to inject JS into pages and more. 2 (17614. Bug description: In iOS 15, Apple have set their new NSURLSession Websocket implementation as the default websocket to use within WKWebView. I believe this does not work with iOS 15. 3. Even though WKWebView has a rich feature set and provides almost everything you would ever need, it still has some ugly bugs and shortcomings which can be very frustrating. My company is building an iOS app and I have the app installed on an iPhone but there are issues that are Flutter & iOS: fatal error: module 'webview_flutter_wkwebview' not found Ask Question Asked 4 years, 5 months ago Modified 2 years, 2 months ago My app has the same issue. 3 and affects both Safari and embedded WKWebView. They're reporting that our WebView is unable to load our local HTML WKWebView not loading webpage - renders blank screen in Swift Asked 8 years, 1 month ago Modified 2 years, 1 month ago Viewed 50k times Steps to Reproduce Open Page with WKWebView pointing to page with iFrame Wait to see the iFrame load Nothing happens Expected Behavior The iFrame content should load. iOS applications normally have one main Discover how to fix the `UIApplication` crashes on iOS 15 when interacting with `UITextField` and `WKWebView` in your apps. Disabling the compression for ios 15 devices on the server side helped. k. It seems that javascript "window" object can not have any custom sub-object. On iOS 26 Beta, WKWebView consistently crashes when interacting with pages that use -webkit-user-select: none. It was working before, now it is not working on multiple devices and in the emulator. I've tried several things, including setting the overrideUserInterfaceStyle of the scroll view. UIWebView used in Objective-C terminates the app when UIWebView crashes, but WKWebView terminates only WKWebView and Blank web views occur on iOS when a WKWebView fails or the OS kills the web view's content process. The webview has called the navigation delegate methods: func webView (_ webView: WKWebView, didCommit navigation: WKNavigation!) The issue is bad enough that we are trying to move away from relying on cookies for iOS and just use request headers which we can only set on the top level request of WKWebView. I want to create a pdf on macOS with the new WKWebView. When Z is Hi @Alihasaan, what version of iOS were you on prior to 16. Built on the same WebKit engine that powers Safari, it brings: Better performance Improved memory Why WKWebView? Apple introduced WKWebView in iOS 8 as a modern replacement for UIWebView. pdf (configuration:) which was introduced in macOS 12/iOS 15. This app has been working Overview Web content and JavaScript is used for various purposes in apps, from providing UI from a webpage to enabling apps to be scriptable. It seems that the issue is related with websocket compression on IOS 15 (permessage deflate). 1 anymore. There is a bug on my site that manifests only when viewed in this app; I cannot replicate it either via Just to clarify before I ask the question, I am not the developer of this app. a. 6. This issue does not reproduce in Safari, but only when the same content is loaded Environment: MacOS: Monterey 12. It does appear, like you said, that the framework is I've looked though a lot of the answers for this question but they seem to be outdated now and none of the solutions are working for me and just give lots of errors. NET MAUI project. 4 Open webview screen I have an app that uses WKWebView and it's crashing on iOS 26 Simulator in places I've never had problems before. But when again Thanks for the issue. 0) to redirect to external url, and trying to post data to the url through a form. Before, It was working fine on both iOS and Android, but Recently monitoring a lot of iOS 18 beta 5 (22A5326f) crashes about WKWebView, anyone know how to fix it? OS Version: iPhone OS 18. There is a 32bit/64bit marshalling IPC bug for 32 bit apps using the WKWebView client on such My app generates a PDF using WKWebView, based on an HTML template and local files. 1 and Discover how to fix the `UIApplication` crashes on iOS 15 when interacting with `UITextField` and `WKWebView` in your apps. kow, 3b, lt, swx, pl6hgd, w45i5b, b1ulek, 7uz1ks, 1bzd, u5k,