Google Play Warning: WebViewClient.onReceivedSslError handler

前端 未结 2 1563
南笙
南笙 2021-02-01 08:51

I recently received an email from Google with the following subject : \"Google Play Warning: SSL Error Handler Vulnerability\". In this email, Google explains that my app has an

2条回答
  •  梦毁少年i
    2021-02-01 09:31

    The problem is in your code. When you call handler.proceed(); like that, it effectively removes all the security from your connection.

    You should remove your onReceivedSslError method. The default implementation will reject insecure connections.

提交回复
热议问题