android - How to fix this Google play store warning: Your app(s) are using an unsafe implementation of the HostnameVerifier interface -


i getting warning when trying push update android application. using retrofit okhttp client https calls. have tried adding okhttp client like:

okhttpclient.builder clientbuilder = new okhttpclient.builder(); clientbuilder.hostnameverifier(new hostnameverifier() {     @override     public boolean verify(string hostname, sslsession session) {         if (hostname.equalsignorecase("myhost.com")) {             return true;         }         else {             return false;         }     } }); 

but still getting same warning. can due library using. if so, how can fix this?


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -