Open P1NG2WIN opened 4 years ago
AppUpdater:2.7
My domain has no ssl certificate. In the apk I ignore it by this
okHttpBuilder .hostnameVerifier(HostnameVerifier { _, _ -> true }),
but this library throws an error javax.net.ssl.SSLPeerUnverifiedException: Hostname ... not verified and I did not find the option to set custom hostnameVerifier
javax.net.ssl.SSLPeerUnverifiedException: Hostname ... not verified
AppUpdater(this).apply { setUpdateFrom(UpdateFrom.JSON) setUpdateJSON("${API.HTTPS_API_URL}/update-changelog") setDisplay(Display.DIALOG) .setCancelable(false) start() }
AppUpdater:2.7
My domain has no ssl certificate. In the apk I ignore it by this
okHttpBuilder .hostnameVerifier(HostnameVerifier { _, _ -> true }),
but this library throws an error
javax.net.ssl.SSLPeerUnverifiedException: Hostname ... not verified
and I did not find the option to set custom hostnameVerifier