Skip to content

Commit 6b75ce9

Browse files
author
ARKALYK AKASH
committed
invoke handleStartCall on video call tap from system phone app.
1 parent 0424e00 commit 6b75ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNCallKit/RNCallKit.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ + (BOOL)application:(UIApplication *)application
296296
INPerson *contact;
297297
NSString *handle;
298298

299-
if ([userActivity.activityType isEqualToString:INStartAudioCallIntentIdentifier]) {
299+
if ([userActivity.activityType isEqualToString:INStartAudioCallIntentIdentifier] || [userActivity.activityType isEqualToString:INStartVideoCallIntentIdentifier]) {
300300
INStartAudioCallIntent *startAudioCallIntent = (INStartAudioCallIntent *)interaction.intent;
301301
contact = [startAudioCallIntent.contacts firstObject];
302302
}

0 commit comments

Comments
 (0)