WKWebview Domain Limit

Hi everyone,

We're facing a challenge with Apple's WKWebView and its WKAppBoundDomains limit.

Our web app is hosted across multiple dedicated domains to ensure security and isolation for our customers. Additionally, we rely on a service worker to provide offline functionality within our app. To enable the service worker in our WebView app, we must specify the domains within the app-bound domains list.

The issue we're encountering is the 10-domain limit, which is restrictive since our app needs to support access to more than 10 domains.

Has anyone found a workaround for this limitation? Or does Apple provide any exceptions to this rule if a strong case is presented?

We’d greatly appreciate any insights or experiences you can share. Thanks in advance!

There's no supported way for you to increase the App Bound Domains limit with the APIs currently available. If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here. If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?

WKWebview Domain Limit
 
 
Q