Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to show an incoming call when screen is locked on react-native

I'm developing a video call app with react-native-webrtc and I'm stuck now on how to show the incoming call screen when the phone is locked. I'm working now on the android part and I already tried this tutorial but it doesn't work for me https://medium.com/@shivanshrajpoot/create-a-react-native-app-which-works-on-lock-screen-android-b127f0177455

Thanks in advance :)

like image 936
Mahdi N Avatar asked Oct 16 '22 04:10

Mahdi N


1 Answers

React Native CallKeep is what you need. You can find the usage details here.. https://github.com/react-native-webrtc/react-native-callkeep

like image 160
Sushant Khanal Avatar answered Oct 21 '22 00:10

Sushant Khanal