datatheorem/TrustKit

Crash when app is restarted

crashoverride777 opened this issue · 0 comments

Hey,

I have been using this library in my app that is also using CallKit and PushKit.

I am getting an app crash

  • When the iPhone has restarted but has not yet been unlocked.
  • A call is received and the app tries to handle it via the PushKit notification (launching in the background)

I have double checked the code implementation and found no immediate issues that could maybe cause this. The TrustKit config code is called in the AppDelegates didFinishLaunchingWithOptions.

This was tested on the latest version (3.0.3).

Any help would be much appreciated. Thank you

Screenshot 2023-08-29 at 13 37 27 Screenshot 2023-08-29 at 14 51 33