Closed martijnvegmond-cw closed 8 months ago
Hi, I can confirm that in iOS 16.4 and later versions, it prevents InAppBrowser from being inspected in Safari's web inspector by default.
There is an open PR (https://github.com/apache/cordova-plugin-inappbrowser/pull/995) addressing the problem. As a workaround until the library is fixed, you can add Swift code to src/ios/CDVWKInAppBrowser.m
to enable web inspection.
Bug Report
iOS 16.4 (and up) webview can not debug in Safari web inspector
Problem
No Web inspection possible for the InAppBrowser window, due to changes in iOS 16.4
What is expected to happen?
Open a InAppBrowser window and inspects it's content to fix, for example, design issues.
What does actually happen?
InAppBrowser window of our app is not in the list of webpages in Safari: Develop > Device > App
Information
Enabling the Inspection of Web Content in Apps
Environment, Platform, Device
iOS 16.4 and higher iPhone and iPad
Version information
Cordova plugin in app browser v5.0.0 Capacitor v4.8.0
Checklist