Skip Navigation

Limitations for OkHttp Support

BlackBerry Dynamics SDK for Android
supports the OkHttp API. The following table outlines the limitations as of this release:
BlackBerry Dynamics
uses OkHttp version 4.9.1.
Limitation
Description
Caching
Caching is not supported in this release.
Proxy
Proxy servers are supported, but there is no API to set a proxy. It will work if proxies are set in
UEM
, either using a PAC file or manually. If proxy authentication is required, this will be done automatically as is the case for the existing HttpClient API. Otherwise, a 407 HTTP status will be returned.
Authentication
  • Third-party authentication interceptors might support NTLM authentication.
  • Kerberos
    authentication using PKINIT or KCD is supported, but
    Kerberos
    using user-supplied credentials is not supported.
  • SPNEGO is not supported.
Timeouts
Timeouts in OkHttp are separated into connection timeouts, read timeouts, and write timeouts.
BlackBerry Dynamics
OkHttp only supports connection timeouts, and it is not currently possible to change the timeout value.
Certificates
It is not currently possible to disable HTTPS host/peer certificate verification, or to enforce pinned certificates.