datatheorem / TrustKit

Easy SSL pinning validation and reporting for iOS, macOS, tvOS and watchOS.
MIT License
2.01k stars 362 forks source link

Improve static initializer calls #276

Closed ihsanhusnul closed 2 years ago

ihsanhusnul commented 2 years ago

Configuration the project which set up programmatically, but found on startup the unneeded initialize call on a constructor.

Let's make initialize call configuration by PList optional.

151257753-e77d9981-0270-40f8-a82d-a33a63235d6b
nabla-c0d3 commented 2 years ago

Hello and thanks for the contribution. Unfortunately, the call via constructor is actually needed for TrustKit to work properly when configured via the Info.plist.