You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by jc...@apache.org on 2023/08/29 21:54:10 UTC

[cordova-ios] 01/01: chore: make code compile on Xcode 11

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 <jc...@gmail.com>
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: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org