Android Question Android 4.4.2 (api 19) and http job

mtselection

Member
Licensed User
Longtime User
Hi,

I'm looking for a solution for the job.download in https\\... tls 1.2. Unfortunately, I have the following limitations:
Android platform 4.4.2 api19 does not allow the use of OKHttpUtils2 (min target api 21)
HttpUtils2 send the error Error: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate.

Is there a workaround?

Thanks.
Maurizio
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

mtselection

Member
Licensed User
Longtime User
You're right, DonManfred, but it's a special application based on hardware with limited resources.

Thanks Erel for the support. My X86 old releases are 10.50 and 11.50. Where can I find 11.20? The download link is no longer active.

Thanks
Maurizio
 
Upvote 0

mtselection

Member
Licensed User
Longtime User
Solved

I downloaded version 11.20 from the GitHub repository, set HU2_ACCEPTALL in building configuration -> Conditional Symbols, and everything works.

Thanks Erel for the support.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…