I received Notification from Google saying: Security alert
Your app is using an unsafe implementation of HostnameVerifier. Please see this Google Help Center article for details, including the deadline for fixing the vulnerability.
Did anyone received this alert and if so how did you solve it?
I am having HostnameVeriefier class as follows:
public class NullHostNameVerifier implements HostnameVerifier {
public boolean verify(String hostname, SSLSession session) {
Log.i("UtilImpl", "Approving certificate for " + hostname);
return true;
}
}
Please, help me in finding whats wrong with this code? and how to solve it?