Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random crash - TrustKit was not initialized #306

Open
TomBentz opened this issue May 29, 2023 · 0 comments
Open

Random crash - TrustKit was not initialized #306

TomBentz opened this issue May 29, 2023 · 0 comments

Comments

@TomBentz
Copy link

TomBentz commented May 29, 2023

Hi,

I have a published app using TrustKit. Sometimes I received crash logs from Crashlytics

Fatal Exception: TrustKit was not initialized TrustKit must be initialized using +initSharedInstanceWithConfiguration: prior to accessing sharedInstance

I configure TrustKit using the plist key TSKConfiguration, and only use TrustKit.sharedInstance().pinningValidator.handle(challenge, completionHandler: completionHandler) on every network call.

How can this crash only occurs sometimes and 98% of the users don't have it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant