[ https://issues.apache.org/jira/browse/CB-7049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah updated CB-7049: --------------------------------- Description: Branch: https://github.com/shazron/cordova-ios/tree/wkwebview-only As of iOS 8 beta 2, you can't yet. Filed radar: rdar://problem/17423600 ------ Summary: When using UIWebView, you could intercept requests using NSURLProtocol. With the new WKWebView, NSURLProtocol does not intercept requests anymore. This is useful for HTTP authentication, encryption of assets, etc. Steps to Reproduce: 1. Use WKWebView 2. Instantiate a NSURLProtocol 3. Observe that you can't intercept the requests of the WKWebView Expected Results: Ability to intercept requests of a WKWebView using NSURLProtocol Actual Results: No ability to intercept requests of a WKWebView using NSURLProtocol Version: iOS 8 beta 2 Configuration: iOS Simulator, iPad 2 was: As of iOS 8 beta 2, you can't yet. Filed radar: rdar://problem/17423600 ------ Summary: When using UIWebView, you could intercept requests using NSURLProtocol. With the new WKWebView, NSURLProtocol does not intercept requests anymore. This is useful for HTTP authentication, encryption of assets, etc. Steps to Reproduce: 1. Use WKWebView 2. Instantiate a NSURLProtocol 3. Observe that you can't intercept the requests of the WKWebView Expected Results: Ability to intercept requests of a WKWebView using NSURLProtocol Actual Results: No ability to intercept requests of a WKWebView using NSURLProtocol Version: iOS 8 beta 2 Configuration: iOS Simulator, iPad 2 > Support whitelist in WKWebView > ------------------------------ > > Key: CB-7049 > URL: https://issues.apache.org/jira/browse/CB-7049 > Project: Apache Cordova > Issue Type: Sub-task > Components: iOS > Environment: iOS 8 > Reporter: Shazron Abdullah > > Branch: https://github.com/shazron/cordova-ios/tree/wkwebview-only > As of iOS 8 beta 2, you can't yet. > Filed radar: > rdar://problem/17423600 > ------ > Summary: > When using UIWebView, you could intercept requests using NSURLProtocol. With > the new WKWebView, NSURLProtocol does not intercept requests anymore. > This is useful for HTTP authentication, encryption of assets, etc. > Steps to Reproduce: > 1. Use WKWebView > 2. Instantiate a NSURLProtocol > 3. Observe that you can't intercept the requests of the WKWebView > Expected Results: > Ability to intercept requests of a WKWebView using NSURLProtocol > Actual Results: > No ability to intercept requests of a WKWebView using NSURLProtocol > Version: > iOS 8 beta 2 > Configuration: > iOS Simulator, iPad 2 -- This message was sent by Atlassian JIRA (v6.2#6252)