Skip to content

Instantly share code, notes, and snippets.

View mathankumar-dotworld's full-sized avatar

MathanKumar mathankumar-dotworld

  • Coimbatore
  • 14:10 (UTC +05:30)
View GitHub Profile
adb_enabled=1
airplane_mode_on=0
airplane_mode_radios=cell,bluetooth,wifi,nfc,wimax
airplane_mode_toggleable_radios=bluetooth,wifi,nfc
assisted_gps_enabled=1
audio_safe_volume_state=1
auto_time=1
auto_time_zone=1
bluetooth_on=1
bugreport_in_power_menu=0
@mathankumar-dotworld
mathankumar-dotworld / UnsafeHttpClient.kt
Created December 29, 2022 06:05 — forked from maiconhellmann/UnsafeOkHttpClient.kt
UnsafeHttpClient wrote in Kotlin
import okhttp3.OkHttpClient
import java.security.cert.CertificateException
import javax.net.ssl.SSLContext
import javax.net.ssl.TrustManager
import javax.net.ssl.X509TrustManager
class UnsafeOkHttpClient {
companion object {
fun getUnsafeOkHttpClient(): OkHttpClient.Builder {
try {