2
votes

I have an android app that fails on android 4.0.X , 4.1.X , 4.2.X to communicate with the API in server side via https protocol.

The official docs say that TLS 1.2 is supported but not enabled by default. I haven't been able to find a way to enable it with Codename one ; how would one enable TLS 1.2 on an android / Codename one app?

1

1 Answers

1
votes

You will need to create a native interface call and then in the native section use one of the methods illustrated here: How to enable TLS 1.2 support in an Android application (running on Android 4.1 JB)

You can create a native interface by following the guideline here or thru the developer guide coverage of this.