@Viertual

Android. Unity SDK. WebViewClient.onReceivedSslError?

Здравствуйте! При добавлении SDK для юнити в проект и попытке публикации приложени яна Google Play.
Магазин отвергает приложение из-за следующей ошибки:

Security alert
Your application has an unsafe implementation of the WebViewClient.onReceivedSslError handler. Specifically, the implementation ignores all SSL certificate validation errors, making your app vulnerable to man-in-the-middle attacks. An attacker could change the affected WebView's content, read transmitted data (such as login credentials), and execute code inside the app using JavaScript.
To properly handle SSL certificate validation, change your code to invoke SslErrorHandler.proceed() whenever the certificate presented by the server meets your expectations, and invoke SslErrorHandler.cancel() otherwise. An email alert containing the affected app(s) and class(es) has been sent to your developer account address.
Please address this vulnerability as soon as possible and increment the version number of the upgraded APK. For more information about the SSL error handler, please see our documentation in the Developer Help Center. For other technical questions, you can post to https://www.stackoverflow.com/questions and use the tags “android-security” and “SslErrorHandler.” If you are using a 3rd party library that’s responsible for this, please notify the 3rd party and work with them to address the issue.

Если удалить SDK Одноклассников - то магазин принимает приложение.

Как в таком случае встроить SDK в мобильное приложение?
  • Вопрос задан
  • 772 просмотра
Решения вопроса 1
Vjaka
@Vjaka
Платформа игр (Одноклассники)
Проблема была исправлена в версии 1.0.13
Ответ написан
Комментировать
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы