rhymelph / r_scan

📷🖨Flutter二维码&条形码扫描插件,支持相机、文件、链接、Uint8List类型扫描
https://juejin.im/post/5dd8efb1e51d452314438515
BSD 3-Clause "New" or "Revised" License
119 stars 79 forks source link

issue with x509trustmanager #27

Closed ljbdelacruz closed 4 years ago

ljbdelacruz commented 4 years ago

class vulnerability com.rhyme.r_scan.ImageScanHelper$MyX509TrustManager

masewo commented 4 years ago

To solve this you can get rid of the custom TrustManager and use the default SSLSocketFactory:

https://github.com/rhymelph/r_scan/pull/29