You are using an unsafe implementation of X509TrustManager

后端 未结 5 1700
-上瘾入骨i
-上瘾入骨i 2021-01-31 22:06

I\'ve an app in Google Play, today I received a mail from Google saying that:

Google Play warning: You are using an unsafe implementation of X509TrustMa

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-31 22:59

    The problem is not related to the js code. It is inside Titanium sdk and no matter do you use some fucntions or not. I think the possible solution is to rewrite class https://github.com/appcelerator/titanium_mobile/blob/bc85170157d3bebc5de1d61a9fe6e34bce84a8c9/android/modules/network/src/java/ti/modules/titanium/network/NonValidatingTrustManager.java

    We should create safe implementation of X509TrustManager

提交回复
热议问题