Skip Navigation

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 SDK supports loading WKWebView from UIStoryBoard. To avoid any possible data leaks, you must load UIStoryBoard with the WKWebView component after the SDK is initialized.
  • The supported versions of
    iOS
    require
    JavaScript
    injection by the
    BlackBerry Dynamics Runtime
    .
  • The secure Fetch API is supported.
  • Synchronous XMLHttpRequests are supported for
    iOS
    12.2 and later, but the GET method is supported for
    iOS
    13.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:
  • ServerTrust challenge
  • bufferedAmount property for WebSocket JavaScript object
  • Basic, Digest, NTLM, and
    Kerberos
    authentication
  • Extensions
The SDK’s implementation of secure WKWebView does not currently support:
  • The JavaScript sendBeacon API
  • The following Data Leakage Prevention (DLP) settings from
    BlackBerry UEM
    for long-press or 3D touch actions:
    • Do not allow copying data from
      BlackBerry Dynamics
      apps into non
      BlackBerry Dynamics
      apps
    • Do not allow copying data from non
      BlackBerry Dynamics
      apps into
      BlackBerry Dynamics
      apps
  • HTML attributes for a link tag (for example, preconnect)