Skip to content

Commit

Permalink
Fix SSL Error on Android 8.1 (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacakakpo1 authored Aug 27, 2024
1 parent c908e4b commit 5cecdb2
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,9 @@ class TxSocket(

client = OkHttpClient.Builder()
.addNetworkInterceptor(HttpLoggingInterceptor().setLevel(HttpLoggingInterceptor.Level.BODY))
.retryOnConnectionFailure(true)
.connectTimeout(25, TimeUnit.SECONDS)
.readTimeout(25, TimeUnit.SECONDS)
.writeTimeout(25, TimeUnit.SECONDS)
.hostnameVerifier(hostnameVerifier = { _, _ -> true })
.addInterceptor(
Interceptor { chain ->
val builder = chain.request().newBuilder()
Expand Down

0 comments on commit 5cecdb2

Please sign in to comment.