Skip to content
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

EventListeners not registered if call received from voip push #801

Open
2 tasks done
Irfanwani opened this issue Aug 3, 2024 · 1 comment
Open
2 tasks done

EventListeners not registered if call received from voip push #801

Irfanwani opened this issue Aug 3, 2024 · 1 comment

Comments

@Irfanwani
Copy link

Irfanwani commented Aug 3, 2024

Bug report

  • I've checked the example to reproduce the issue.

  • Reproduced on:

  • iOS

Description

I am sending a voip push from my server to the app and when received, i am handling it from native side using
[RNCallKeep reportNewIncomingCall: ... ]

It shows the native UI for incoming call so I don't need to call RnCallKepp.displayIncomingCall(), but listeners are not working.
answerCall is never registered, i checked my logs endCall and didDisplayIncomingCall is working fine.

So my question is, it is necessary to trigger the native UI using RNCallkeep.displayIncomingCall() only to register the event listeners or is there any alternate way to register them even when the UI is shown from native side.

I am using react-native-voip-push-notifications to handle voip push.

Steps to Reproduce

Checkout this part https://github.com/react-native-webrtc/react-native-callkeep?tab=readme-ov-file#PushKit

Versions

- Callkeep: "^4.3.13",
- React Native: "0.74.2",
@WildEgo
Copy link

WildEgo commented Sep 7, 2024

I too noticed this issue

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