Link Search Menu Expand Document

TLS 1.2 support

Table of contents


Overview

Transport Layer Security protocol.

Android devices can be in one of the following states:

  • Device does not have TLS 1.2 installed at all.
  • Device has TLS 1.2 installed, but not enabled by default.
  • Device has TLS 1.2 installed and enabled by default.

Since Bold systems are now under this security protocol, The Bold SDK as well was updated to support it.
The Bold SDK enables the TLSv1.2 protocol on lower API (< 21) devices which are usually doesn’t enable this option by default, even if installed.


Verify TLS 1.2 is available on the device

It is up to the hosting App to verify and suggest installation of TLS 1.2 protocol when is not installed on the device.

Google play services library, provides an easy way to do that:
Using ProviderInstaller.installIfNeeded or ProviderInstaller.installIfNeededAsync

Notice

  • If your App uses android Support Library - make sure you import the appropriate Google play version: com.google.android.gms:play-services-base:16.1.0
  • If your App uses androidx libraries, import the latest version.