androidpaytm

How to remove a play store error "unsafe implementation of HostnameVerifier"


I am getting the following error,

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. Vulnerable classes: com.paytm.pgsdk.i Affects APK version 10.

while uploading my app on google play. My app has paytm integrated with Paytm sdk.

Please help me with any solution or suggestion how to resolve this error.

Thanks.


Solution

  • I got a solution to remove the error "unsafe implementation of HostnameVerifier".

    Simply use in https URLs in both the PaytmMerchant URLs (inChecksumGenerationURL and inChecksumVerificationURL).