unsafe implementation of the HostnameVerifier interface

  • Thread starter Thread starter Android Central Question
  • Start date Start date
A

Android Central Question

0
down vote
favorite
I developed the app and published the google play store then received the notification from Google enter image description here

HostnameVerifier Your app(s) are using an unsafe implementation of the HostnameVerifier interface. You can find more information about how resolve the issue in this Google Help Center article, including the deadline for fixing the vulnerability.

I can't use HostnameVerifier or calling setDefaultHostnameVerifier() I assume it relies to some 3rd party lib. Third parties lib used-Google map, baidu map, firebase crash analytics, firebase phone authentication, quick blox, mob authentication.

Tried:

HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() { public boolean verify(final String hostname, final SSLSession session) {

if (session.isValid()) {

return true;
}
else
{
return false;
}`

But, my app got rejected from Google play store.
 

Latest posts

Trending Posts

Members online

Forum statistics

Threads
956,368
Messages
6,967,840
Members
3,163,519
Latest member
kiki2025