Skip to content

Commit 9792373

Browse files
committed
Fix NSInvalidArgumentException when localizedCallerName is empty
1 parent 0028869 commit 9792373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
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)