Skip to content

Commit 13e1a97

Browse files
authored
Update README.md
Update didReceiveIncomingPushWithPayload documentation
1 parent f136200 commit 13e1a97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,9 @@ Since iOS 13, you'll have to report the incoming calls that wakes up your applic
631631
[RNVoipPushNotificationManager didReceiveIncomingPushWithPayload:payload forType:(NSString *)type];
632632

633633
// Retrieve information like handle and callerName here
634+
// NSString *uuid = /* fetch for payload or ... */ [[[NSUUID UUID] UUIDString] lowercaseString];
635+
// NSString *callerName = @"caller name here";
636+
// NSString *handle = @"caller number here";
634637

635638
[RNCallKeep reportNewIncomingCall:uuid handle:handle handleType:@"generic" hasVideo:false localizedCallerName:callerName fromPushKit: YES];
636639

0 commit comments

Comments
 (0)