Support for WKWebView
The
BlackBerry Dynamics SDK for iOS
version 4.2 and later supports secure WKWebView for displaying interactive web content. The SDK supports WKWebView for devices running iOS
11.0 or later.Note the following support details:
- The SDK supports multiple WKWebView instances. The instances must be created programmatically.
- The SDK supports loading WKWebView from UIStoryBoard. To avoid any possible data leaks, you must load UIStoryBoard with the WKWebView component after the initialization of the SDK.
- The supported versions ofiOSrequireJavaScriptinjection by theBlackBerry Dynamics Runtime.
- TheJavaScriptFetch API is supported foriOS11.3 and later, with the following known issue that will be addressed in a future release:
- Requests with the raw file or blob binary object body content types do not work.
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
- Sending the following types of body data using XMLHttpRequest: ArrayBuffer, Blob, FormData, URLSearchParams, USVString
The SDK’s implementation of secure WKWebView does not currently support:
- Secure WKWebView creation from UIStoryBoard, including WKWebView controls that are added with theXcodeInterface Builder tool
- The JavaScript sendBeacon API
- The following Data Leakage Prevention (DLP) settings fromBlackBerry UEMor standaloneGood Controlfor 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
- HTML5 persistent local storage
- HTML attributes for a link tag (for example, preconnect)
- WebSockets
- HTTP/2