user18468640
user18468640

Reputation: 1

SSL seurity err in webview

Below is the list of issues and the corresponding APK versions that were detected in your recent submission. Please migrate your apps to use the updated software as soon as possible and increment the version number of the upgraded APK.

SSL Error Handler For more information on how to address WebView SSL Error Handler alerts, please see this Google Help Center article.

Lcom/prvaas/prvaas/MainActivity$1; Lcom/prvaas/prvaas/MainActivity$1;

this msg I got from play store. while SSl code part is there .

anyone can help....

Upvotes: 0

Views: 109

Answers (1)

snachmsm
snachmsm

Reputation: 19223

you are getting onReceivedSslError call, but inside this method you are calling handler.proceed(); means that WebView detected some inconsistency and you are calling proceed anyway allowing to load data/site. this isn't SSL handling, this is disabling SSL at all allowing ANY certificate to be proceeded even with error/not valid

your code also contains @SuppressLint("WebViewClientOnReceivedSslError"), which prevents Android Studio to show you a warning that this isn't secure way... remove this line and read lint warning

related topic in HERE

Upvotes: 1

Related Questions