This is an automated email from the ASF dual-hosted git repository.
dpogue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git
The following commit(s) were added to refs/heads/master by this push:
new c43a1595 feat: Add LimitsNavigationsToAppBoundDomains configuration
key (#1249)
c43a1595 is described below
commit c43a159504a3f0a0258cae3184af4f711e962881
Author: Gazder Bence <[email protected]>
AuthorDate: Thu Jun 8 20:55:56 2023 +0200
feat: Add LimitsNavigationsToAppBoundDomains configuration key (#1249)
Add support for limitsNavigationsToAppBoundDomains webkit configuration:
https://webkit.org/blog/10882/app-bound-domains/
---
.../Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m
b/CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m
index 0aff998f..0efdf958 100644
--- a/CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m
+++ b/CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m
@@ -158,6 +158,10 @@
}
+ if (@available(iOS 14.0, *)) {
+ configuration.limitsNavigationsToAppBoundDomains = [settings
cordovaBoolSettingForKey:@"LimitsNavigationsToAppBoundDomains" defaultValue:NO];
+ }
+
return configuration;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]