ConnectyCube / connectycube-reactnative-samples

Chat and Video Chat code samples for React Native, ConnectyCube
https://connectycube.com
Apache License 2.0
125 stars 111 forks source link

On Accept call function navigate to call screen #54

Closed akshayhalasangi closed 4 years ago

akshayhalasangi commented 4 years ago

Hi there, I've implemented the video chat as is with some changes to include actual users in my application. I do login for the user in the splash screen itself and hence I get the alert for accept/reject the call anywhere in my application. What I need to achieve now is to push the app state to VideoChat screen when accept call is called. Any help would be greatly appreciated

banshiAnton commented 4 years ago

Hi @akshayhalasangi, you can use ConnectyCube.videochat.onCallListener = function(session, extension) {}; https://developers.connectycube.com/js/videocalling?id=initiate-a-call

banshiAnton commented 4 years ago

If there is no activity, i will close this issue