datatheorem / datatheorem/TrustKit

Crash when app is restarted

Open
#312 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
2.1k
Forks
381
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the TrustKit configuration called from AppDelegate's didFinishLaunchingWithOptions and the crash screenshots in the issue. Reproduce the PushKit background launch after an iPhone restart before unlock, then identify and document a fix for the crash in TrustKit 3.0.3.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
mobile-dev, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.