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
Adding WKAppBoundDomains key blocks JavaScript injection and other WKWebView features unless limitsNavigationsToAppBoundDomains is set to true (which is not possible at the moment, will be after the linked PR gets merged).
Without the JavaScript injection, native plugins don't work and the web version is used instead.
More information about App Bound Domains and how they affect the WKWebView can be found here
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform(s)
iOS
Current Behavior
Capacitor detects platform as "web" although it is clearly synced and running on iOS Simulator.
Expected Behavior
platform should be "ios", when built for and running on iOS.
Code Reproduction
Add key "WKAppBoundDomains" to the Info.plist in the ios/App folder
You don’t even have to add domain entries.
The text was updated successfully, but these errors were encountered: