Skip Navigation

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 only one secure WKWebView instance at a time. The instance must be created programmatically.
  • The supported versions of
    iOS
    require
    JavaScript
    injection by the
    BlackBerry Dynamics Runtime
    .
  • The
    JavaScript
    Fetch API is not supported for
    iOS
    11.2 and earlier.
  • The
    JavaScript
    Fetch API is supported for
    iOS
    11.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 the
    Xcode
    Interface Builder tool
  • The JavaScript sendBeacon API
  • The following Data Leakage Prevention (DLP) settings from
    BlackBerry UEM
    or standalone
    Good Control
    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
  • HTML5 persistent local storage
  • HTML attributes for a link tag (for example, preconnect)
  • WebSockets
  • HTTP/2