-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hey,
Could you add support for Cronet, URLSession, Coil/ktor and Glide/okhttp3?
Thanks.
Android - https://github.com/coil-kt/coil which are making use of https://ktor.io/docs/client-ssl.html
Android - https://chromium.googlesource.com/chromium/src/+/lkgr/components/cronet/README.md
iOS - https://github.com/SDWebImage/SDWebImage which are making use of https://developer.apple.com/documentation/foundation/urlsession
- https://medium.com/@ahmed.elmemy21/implementing-certificate-pinning-in-ios-enhancing-app-security-fec46a0df676
- https://erezhod.com/blog/securing-your-urlsession-requests-certificate-pinning/
- https://www.netguru.com/blog/certificate-pinning-in-ios
Android - Fastimage uses Glide, which has integration with okhttp3
- https://square.github.io/okhttp/features/https/#certificate-pinning-kt-java
- https://futurestud.io/tutorials/glide-module-example-accepting-self-signed-https-certificates
This is probably useful to have implemented, not only for image related, but other packages could also eventually be using them for whatever reason.
Plus, this would be useful in the scenario from this issue #183
With that, it would then automatically add support for
-
https://github.com/margelo/react-native-nitro-fetch - SSL pinning support margelo/react-native-nitro-fetch#12
-
https://github.com/mrousavy/react-native-nitro-image - Network calls via FastImage are not being SSL Pinned #313 (comment)