Skip to content

Commit e6a29d1

Browse files
author
Ricardo Corrie
committed
payload parameter of reportNewIncomingCall method is now optional
1 parent cf4df08 commit e6a29d1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ios/RNCallKeep/RNCallKeep.m

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,16 @@ + (void)reportNewIncomingCall:(NSString *)uuidString
362362
}];
363363
}
364364

365+
+ (void)reportNewIncomingCall:(NSString *)uuidString
366+
handle:(NSString *)handle
367+
handleType:(NSString *)handleType
368+
hasVideo:(BOOL)hasVideo
369+
localizedCallerName:(NSString * _Nullable)localizedCallerName
370+
fromPushKit:(BOOL)fromPushKit
371+
{
372+
[RNCallKeep reportNewIncomingCall: uuidString handle:handle handleType:handleType hasVideo:hasVideo localizedCallerName:localizedCallerName fromPushKit: NO payload:nil];
373+
}
374+
365375
- (BOOL)lessThanIos10_2
366376
{
367377
if (_version.majorVersion < 10) {

0 commit comments

Comments
 (0)