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.
Asked
Active
Viewed 3,874 times
3
-
1have you got any solution for this ? – Vipin Dubey May 03 '20 at 19:08
-
No I haven't found anything related to this issue. Only thing I found is that I have to use native android code to achieve this functionality. – hamza May 18 '20 at 09:41
-
@hamza did you get solution? – Ved Jul 21 '20 at 04:49
-
for foreground what i use is real time database with the help of real time database if the app is in foreground it will work – Dev.Barai Dec 05 '20 at 01:58
1 Answers
2
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

Samyak
- 405
- 3
- 13
-
Hi Samyak, How about RN? do you have sample agora RN with callkit and connection service? – rusli Abdul gani Jan 08 '21 at 02:37
-