Skip to content

Conversation

@rex-iotum
Copy link
Collaborator

@rex-iotum rex-iotum commented May 7, 2025

continueUserActivity can only be declared once, but both Branch and Callkit declares it. Callkit is installed last so it overrides and executes when the app resumes from deeplink. Then crashes since it's running when not being intended and lacks conditional code to early return if not INStartVideoCallIntent or INStartAudioCallIntent.

I've tried to implement "swizzle" for all references to continueUserActivity, however it's not straightforward since Branch declares a custom function called continueUserActivity that gets executed by swizzle despite having a different signature. Can't rename that custom function since it's being called internally by something.

This code is probably related to starting a call from the native phone recents, not something we're using atm.

@rex-iotum rex-iotum merged commit c5fd1ad into develop May 8, 2025
1 check passed
@rex-iotum rex-iotum deleted the comment-out-conflicting-appdelegate branch May 28, 2025 14:38
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

Successfully merging this pull request may close these issues.

2 participants