針對okhttp修復TrustManager實施方式不安全的應用

引用谷歌市場的幫助說明:https://support.google.com/faqs/answer/6346016 項目使用的okhttp2.5.0 根據谷歌的建議,全局搜索X509TrustManager,在創建HttpClient的時候找到了相關代碼。 改動如下:
相關文章
相關標籤/搜索