1

I have an android app that fails on android 4.1 through 5.0. The issue is that the API it connects to requires TLS 1.2.

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 cordova; how would one enable TLS 1.2 on an android / cordova app?

It appears it would have to be enabled for the webview, this answer states it's impossible.. Is there anything I can do?

Community
  • 1
  • 1

1 Answers1

-1

@evandentremont,
short of a plugin (of which the 2 only work for iOS), your next best option is to set the minSDK in your config.xml

This article confirms that with API level 20, tls 1.2 is turned on by default; the official Android confirms this

Holly Schinsky has a description on how to add this and other important features.

The link you need to add looks like this:
<preference name="android-minSdkVersion" value="20" />

Best of Luck