This is an automated email from the ASF dual-hosted git repository.

jcesarmobile pushed a commit to branch xcode11
in repository https://gitbox.apache.org/repos/asf/cordova-ios.git

commit 1f98607091964b081189edf5a6367dd6b1fab6c0
Author: Julio César <[email protected]>
AuthorDate: Tue Aug 29 23:37:27 2023 +0200

    chore: make code compile on Xcode 11
---
 CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m 
b/CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m
index 0efdf958..5c0ad599 100644
--- a/CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m
+++ b/CordovaLib/Classes/Private/Plugins/CDVWebViewEngine/CDVWebViewEngine.m
@@ -158,9 +158,11 @@
         
     }
 
+#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 140000
     if (@available(iOS 14.0, *)) {
         configuration.limitsNavigationsToAppBoundDomains = [settings 
cordovaBoolSettingForKey:@"LimitsNavigationsToAppBoundDomains" defaultValue:NO];
     }
+#endif
 
     return configuration;
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to