speed-test icon indicating copy to clipboard operation
speed-test copied to clipboard

Google Play store warning

Open Tanv33rA opened this issue 3 years ago • 4 comments

Thanks for such a helpful library . we have used this module in our vpn app updated our app on play store. After uploading we got a warning from play console "your app uses software that contains security vulnerabilities for users. Apps with these vulnerabilities can expose user information or damage a user’s device, and may be considered to be in violation of our Malicious Behavior policy."

Screenshot 2022-03-29 at 6 09 38 PM

Tanv33rA avatar Mar 29 '22 13:03 Tanv33rA

Did you fix it dear i also face same issue

rizwankhanMiranshah avatar Mar 31 '22 12:03 rizwankhanMiranshah

no I could not found solution yet.

Tanv33rA avatar Apr 06 '22 07:04 Tanv33rA

Hi, did the solution google suggested below not work?

Additional details To properly handle hostname verification, change the implementation of your custom HostnameVerifier interface to perform the following actions:

If you are using the HostnameVerifier interface, change the implementation of the verify method to return false whenever the hostname of the server does not meet your expectations. If you are using the X509HostnameVerifier interface, change the implementation of the verify methods (variants 1, 2, 3) to raise an SSLException whenever the hostname of the server does not meet your expectations. Ensure that the Exceptions raised within your verify implementation are not caught and suppressed within the method. Suppressing Exceptions in this manner would cause verify to exit normally, leading the app to trust all hostnames. Also, do not pass AllowAllHostnameVerifier as an argument to setDefaultHostnameVerifier or setHostnameVerifier (e.g., via SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER). AllowAllHostnameVerifier turns off hostname verification, thus making your app vulnerable to attack.

egcodes avatar Apr 13 '22 13:04 egcodes

Hey @egcodes ! Did you change that in the code and after that does Google approved the apk? Thanks!

dygos2 avatar May 20 '22 17:05 dygos2