You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by dp...@apache.org on 2023/06/08 18:56:05 UTC
[cordova-ios] branch master updated: feat: Add LimitsNavigationsToAppBoundDomains configuration key (#1249)
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 <be...@gmail.com>
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: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org