Support for WKWebView
The
BlackBerry Dynamics SDK for iOS
version 4.2 and later supports secure WKWebView for displaying interactive web content.Note the following support details:
- The SDK supports multiple WKWebView instances. The instances must be created programmatically.
- The supported versions ofiOSrequireJavaScriptinjection by theBlackBerry Dynamics Runtime.
- The secure Fetch API is supported.
- Synchronous XMLHttpRequests are supported foriOS12.2 and later, but the GET method is supported foriOS13.1 and later only.
- The SDK supports the use of the cache to search for valid cached data for resources loaded by WKWebView.
The SDK’s implementation of secure WKWebView currently supports:
- Loading HTTP and HTTPS data
- Redirection
- Basic, Digest, NTLM,Kerberos, and ClientCertificate authentication
- Cookies
- Video and audio playback
- Asynchronous XHR requests
- HTML5 non-persistent local storage
- HTML5 persistent local storage
- Sending the following types of body data using XMLHttpRequest: ArrayBuffer, Blob, FormData, URLSearchParams, USVString
- WebRTC
- HTTP/2
WebSockets are supported in WKWebView with the following limitations:
- The permessage-deflate extension is not supported.
The SDK’s implementation of secure WKWebView does not currently support:
- The JavaScript sendBeacon API
- The following Data Leakage Prevention (DLP) settings fromBlackBerry UEMfor long-press or 3D touch actions:
- Do not allow copying data fromBlackBerry Dynamicsapps into nonBlackBerry Dynamicsapps
- Do not allow copying data from nonBlackBerry Dynamicsapps intoBlackBerry Dynamicsapps
- HTML attributes for a link tag (for example, preconnect)