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

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -