Recently one of my app got a security alert from Google Play as below.
You app is using an unsafe implementation of the HostnameVerifier. And refer a link to Google
HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() { @Override public boolean verify(String hostname,SSLSession arg1) { if (! hostname.equalsIgnoreCase("www.asdasdad.com")) return true; else return false; } });
It works