displayIncomingCall doesn't show UI on iOS
Opened this issue · 3 comments
Has anyone managed to display incoming call on recent React Native versions?
I'm on react-native 0.76.7 and added react-native-callkeep 4.3.16 just to show system incoming call screen after receiving a push message.
However the basic setup code:
RNCallKeep.setup({
ios: {
appName: 'AwesomeProject0767',
},
android: {},
})and triggering a screen like so:
RNCallKeep.displayIncomingCall(
'b4afa7d9-5c1b-48b2-8f98-7a3cf51d00d4',
'1234',
'1234',
'number',
false,
);gives no result. I'm testing on physical iPhone device (no SIM card installed).
The only result I see are some logs in XCode:
[RNCallKeep][reportNewIncomingCall] uuidString = b4afa7d9-5c1b-48b2-8f98-7a3cf51d00d4
[RNCallKeep][providerDidReset]
[RNCallKeep] sendEventWithNameWrapper: RNCallKeepProviderReset, hasListeners : NO
Am I missing something?
same issue.. any luck ?
my issue fixed, maybe it's happening due to incorrect payload. Try below payload @mefjuu
const callUUID = Platform.OS === 'ios'
? '11111111-2222-3333-4444-555555555555' // Proper UUID format for iOS
: "1234567890"; // S
const callerName = 'Test Caller';
const callerId = 'test-caller-id';
const roomName = test-room';
// Display incoming call UI
RNCallKeep.displayIncomingCall(
callUUID,
callerName,
callerId,
'generic',
false
)@mefjuu Were you able to find a solution to this issue? I recently updated to react native 0.76 and the call ringing screen stopped showing. I reverted back to the 0.74 version and I get the ringing screen again.