Skip to content

[webview_flutter_wkwebview] Add toggle for the Web Inspector feature #126899

@GwonHyeok

Description

@GwonHyeok

Is there an existing issue for this?

Use case

Since iOS 16.4, the Web Inspector feature is disabled by default.
Therefore, to use Web Inspector, need to change the value of isInspectable.

Proposal

Starting from iOS version 16.4, it is now possible to change the value of the isInspectable property in WKWebView.
https://developer.apple.com/documentation/webkit/wkwebview/4111163-isinspectable

Here is a blog post from WebKit that discusses this
https://webkit.org/blog/13936/enabling-the-inspection-of-web-content-in-apps/

Apple Developer Forums thread (iOS 16.4 webview can not debug in safari web inspector)
https://developer.apple.com/forums/thread/727049

so need to implement the ability to change the isInspectable property of WKWebView in the webview_flutter_wkwebview package.

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterp: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions