Durzan666 opened a new issue, #1423:
URL: https://github.com/apache/cordova-ios/issues/1423

   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   The WKWebViewConfiguration configured in 
CDVWebViewEngineConfigurationDelegate.configuration() is applied to WebView
   
   
   ### What does actually happen?
   The WKWebViewConfiguration configured in 
CDVWebViewEngineConfigurationDelegate.configuration() is ignored and not 
applied to WebView
   
   
   ## Information
   CDVViewController calls 
CDVWebViewEngineConfigurationDelegate.configuration() as expected but the check 
if CDVWebViewEngine can be called using the method initWithFrame:(CGRect)frame 
configuration:(nullable WKWebViewConfiguration *)configuration fails (see 
[here](https://github.com/apache/cordova-ios/blob/64c3051d2b3387f7ac5ab5a24d57016e6b78a9ee/CordovaLib/Classes/Public/CDVViewController.m#L461)).
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   I discovered this behaviour using this code
   ```Swift
   extension CDVViewController: CDVWebViewEngineConfigurationDelegate {
        public func configuration() -> WKWebViewConfiguration {
                let config = WKWebViewConfiguration()
                config.ignoresViewportScaleLimits = true
                return config
        }
   }
   ```
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   Ipad Pro (10.5) iPadOS 17.4.1
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   cordova-ios@7.1.0
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
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: issues-unsubscr...@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to