Rita Curado
06/19/2020, 8:09 AMval connection: URLConnection = URL(imageUrl).openConnection()
println("headerFields: ${connection.headerFields}")
println("content-type: ${connection.contentType}")
However, these properties are always coming as null
I found that android cannot connect and gives me this error:
<http://javax.net|javax.net>.ssl.SSLProtocolException: SSL handshake aborted
I’m also not able to use ProviderInstaller.installIfNeeded(context)
so I’m a bit lost
Anyone knows how to fix this?
Thanks in advance