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
Post a Comment