Limitations for OkHttp Support
BlackBerry Dynamics SDK for Androidsupports the OkHttp API. The following table outlines the limitations as of this release:
BlackBerry Dynamicsuses OkHttp version 4.9.1.
Caching is not supported in this release.
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.
Timeouts in OkHttp are separated into connection timeouts, read timeouts, and write timeouts.
BlackBerry DynamicsOkHttp only supports connection timeouts, and it is not currently possible to change the timeout value.
It is not currently possible to disable HTTPS host/peer certificate verification, or to enforce pinned certificates.