Skip to content

Commit cb4f896

Browse files
authored
Merge pull request #174 from react-native-webrtc/zxcpoiu-patch-1
ios: fix reportNewIncomingCall should use fromPushKit
2 parents 9dff69d + 941e19c commit cb4f896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNCallKeep/RNCallKeep.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ + (void)reportNewIncomingCall:(NSString *)uuidString
383383
localizedCallerName:(NSString * _Nullable)localizedCallerName
384384
fromPushKit:(BOOL)fromPushKit
385385
{
386-
[RNCallKeep reportNewIncomingCall: uuidString handle:handle handleType:handleType hasVideo:hasVideo localizedCallerName:localizedCallerName fromPushKit: NO payload:nil];
386+
[RNCallKeep reportNewIncomingCall: uuidString handle:handle handleType:handleType hasVideo:hasVideo localizedCallerName:localizedCallerName fromPushKit: fromPushKit payload:nil];
387387
}
388388

389389
- (BOOL)lessThanIos10_2

0 commit comments

Comments
 (0)