gazben commented on PR #1249: URL: https://github.com/apache/cordova-ios/pull/1249#issuecomment-1229969753
You can only list 10 `WKAppBoundDomains` in your config file. I think if we automatically merge the `hostname`, `allow-navigation` etc... We can hit this limit pretty quickly, and I don't know what should we do if we hot this limit. You are right navigating to a not set domain will trigger an error: > Setting this flag indicates to WebKit that a WKWebView will only navigate to app-bound domains. Once set, any attempt to navigate away from an app-bound domain will fail with the error: “App-bound domain failure.” I can create a separete merge request for the `master` but I think it would be better to just provide this option to users so they don't have to resort to manual pathing or forking the project. This flag is an optional thing even for native projects. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
