Skip to content

displayIncomingCall doesn't show UI on iOS #837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mefjuu opened this issue Mar 6, 2025 · 2 comments
Open

displayIncomingCall doesn't show UI on iOS #837

mefjuu opened this issue Mar 6, 2025 · 2 comments

Comments

@mefjuu
Copy link

mefjuu commented Mar 6, 2025

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?

@gulsher7
Copy link

same issue.. any luck ?

@gulsher7
Copy link

gulsher7 commented Mar 22, 2025

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
            )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants