[iOS] displayIncomingCall throws an error: parameter 'localizedName' cannot be nil'
See original GitHub issueBug report
-
[#] I’ve checked the example to reproduce the issue.
-
Reproduced on:
-
Android
-
[#] iOS
Description
When I call RNCallKeep.displayIncomingCall() using parameters described in the read me like below, I get an error saying that parameter 'localizedName' cannot be nil'
Steps to Reproduce
this is how I called the method;
acceptCall = () => {
const uuid = this.requestedUserUuid; // "0731961b-415b-44f3-a960-dd94ef3372fc",
const handle = 'testemail@email.com'
const localizedCallerName = 'testNickname';
const handleType = 'email';
const hasVideo = false;
if (Platform.OS === 'android') {
RNCallKeep.displayIncomingCall(uuid, handle, localizedCallerName);
} else {
RNCallKeep.displayIncomingCall(uuid, handle, handleType, hasVideo, localizedCallerName);
}
}
Versions
- Callkeep: 3.0.6
- React Native: 0.50.0
- iOS: 13.2
- Android: N/A
- Phone model: iPhone 11
Logs
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
Uuid And "Handle" Getting Nil From Payload ... - ADocLib
[iOS] displayIncomingCall throws an error: parameter 'localizedName' cannot be nil' #125 Callkeep: 3.0.6 React Native: 0.50.0 iOS: 13.2 Android: N/A.
Read more >react-native-callkeep - npm
When you make an outgoing call, tell the device that a call is occurring. This feature is available only on iOs. RNCallKeep.
Read more >CXProviderDelegate Methods not called - Stack Overflow
setDelegate(self, queue: nil) // 'nil' means it will run on main queue ... error occurs if the system cannot handle the new outgoing...
Read more >Kodeco | High quality programming tutorials: iOS, Android ...
GameplayKit is an awesome framework introduced in iOS 9 that makes ... Open Castle.swift and modify the initializer to take the team as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@samad324 I was getting the same issue as you because I was passing a random typed in string as an uuid while I was testing. I fixed it by passing a RFC4122 uuid generated with https://www.npmjs.com/package/react-native-uuid
i’m getting the same issue even i initialized callkeep.
parameter 'UUID' cannot be nil' was thrown while