koush / ion

Android Asynchronous Networking and Image Loading
Other
6.29k stars 1.03k forks source link

Your app(s) are using an unsafe implementation of the HostnameVerifier interface. #947

Open amitdixitnumeroeins opened 3 years ago

amitdixitnumeroeins commented 3 years ago

Hello Koush/Ion Team,

PFA,

I am using your library in my code and I am using all secure HTTPS URLs in my code. but when I upload the latest build my app getting rejected and the HostnameVerifier interface issue is raised. I am checking the google play Device and Network Abuse policy. Something related to the SSL verifier in the library and I mention the below points. please help us to resolve this issue.

Apps that access or use a service or API in a manner that violates its terms of service.

https://support.google.com/googleplay/android-developer/answer/9888379?hl=en#zippy=%2Cexamples-of-common-violations

Thanks, Amit Dixit

koush commented 3 years ago

I need a screenshot or something

amitdixitnumeroeins commented 3 years ago

screenShot

amitdixitnumeroeins commented 3 years ago

Hello Koushik,

I am using all secure HTTPS URLs in my code. how to use hostname verifier in your library.

lukasreuter commented 3 years ago

Anybody else has a solution for this, seems the error is related to the verify methods of the X509HostnameVerifier interface swallowing exceptions, see for further details: https://support.google.com/faqs/answer/7188426