hamza
hamza

Reputation: 33

How to show incoming video call using react native agora

I want to add real time calling feature in my react native app. I am using agora with socket.io to make it real time and it's working fine when app is in foreground, but I am stuck when app is closed because socket does not work when app is closed I want to show WhatsApp like incoming call screen. Kindly help me. Thanks in advance.

Upvotes: 3

Views: 4307

Answers (1)

Samyak
Samyak

Reputation: 400

You can check out this library: https://github.com/react-native-webrtc/react-native-callkeep

It uses callkit on the ios side and connection service on the android side.

We also have some sample apps for IOS and Android that use CallKit and ConnectionService respectively and use Agora RTM. You can find them here: https://github.com/AgoraIO/Advanced-Video/tree/dev/backup/Calling-Interface

Upvotes: 2

Related Questions