Skip to content

Commit eacefd2

Browse files
authored
Merge pull request #166 from react-native-webrtc/fix_null_caller_name
Fix NSInvalidArgumentException when localizedCallerName is empty
2 parents 39abe16 + 9792373 commit eacefd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class RNCallKeep {
5656
return;
5757
};
5858

59-
displayIncomingCall = (uuid, handle, localizedCallerName, handleType = 'number', hasVideo = false) => {
59+
displayIncomingCall = (uuid, handle, localizedCallerName = '', handleType = 'number', hasVideo = false) => {
6060
if (!isIOS) {
6161
RNCallKeepModule.displayIncomingCall(uuid, handle, localizedCallerName);
6262
return;

0 commit comments

Comments
 (0)