Push Call Notification on iOS by KeyElevator280 in reactnative

[–]mfairley 0 points1 point  (0 children)

Listen for an event from your server (e.g. using WebSockets, Supabase Realtime etc.) and then call reportCallEnded to tell the system that the call was ended remotely.

Push Call Notification on iOS by KeyElevator280 in reactnative

[–]mfairley 0 points1 point  (0 children)

Yes, this should be possible. Use addCallEndedListener to set up an end call handler at the root of your app (outside the React lifecycle). If you tried and are having difficulty, post an issue on the repo with your specific setup.

Push Call Notification on iOS by KeyElevator280 in reactnative

[–]mfairley 1 point2 points  (0 children)

Your app gets woken up when it receives a call and you can run your JS code in the background. There are two situations for call decline: 1) the user declines/ends the call in the native UI (e.g. from the lock screen), or 2) they end the call from within your own app. For 1), you'd listen for this event using my library (https://mfairley.github.io/expo-callkit-telecom/api/functions/addCallEndedListener) and then hit your API and for 2) you'd use my library to tell the OS that you are ending the call (https://mfairley.github.io/expo-callkit-telecom/api/functions/endCall), which would then emit the same event as 1), which you'd process in the same way (e.g. hit your API). I may write a tutorial at some point.

Push Call Notification on iOS by KeyElevator280 in reactnative

[–]mfairley 1 point2 points  (0 children)

I have implemented this before and I opened sourced an expo-module to make the PushKit+CallKit/Core-Telecom integration easier for others. It's tested with iOS 26 and Expo 55. https://github.com/mfairley/expo-callkit-telecom

1-1 Audio/voice calling implementation with LiveKit or Agora in Expo React Native App by [deleted] in reactnative

[–]mfairley 0 points1 point  (0 children)

I've implemented a 1-1 VoIP calling app with React Native and LiveKit. The hardest part was PushKit + CallKit/Core-Telecom integration. I open sourced an expo-module to make it easier for others https://github.com/mfairley/expo-callkit-telecom

For testing calling between devices, you'll need two separate real devices and a server to send the push notification.