Closed naser-shaikh closed 5 years ago
Same issue for me. TrustKit for iOS only checks pinning for the configured domains. Android seems to be enforcing pinning for all domains.
This is a known limitation; see https://github.com/datatheorem/TrustKit-Android/blob/master/README.md#limitations
More specifically: "The SSLSocketFactory or X509TrustManager provided by TrustKit can only be used for connections to the domain that was passed to the getTrustManager() and getSSLSocketFactory() methods".
Describe the bug I am using trustkit 1.0.1 in my Android project. my setting is enforcePinning = "false". APIs for domain which i have mentioned in domain tag works well but rest of the other APIs are failing "Certificate validation failed". i have Urban Airship, Facebook, aws APIs and SDK in project which are failing. i am not able to launch Urban airship, can not download images from AWS.
To Reproduce When ever i launch application.
Expected behavior I need SSL pinning for my mentioned domain only and rest of the third party APIs and SDK should work as they are working without pinning.
TrustKit configuration `<?xml version="1.0" encoding="utf-8"?>