ConnectyCube / connectycube-reactnative-samples

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

Can I use videochat and onlychat option together like whatsapp or messenger ??? Anyone help ? #270

Closed joy-mollick closed 1 year ago

joy-mollick commented 2 years ago

I want to use video chatting integrating with my RNChat app like whatsapp , But Without cloning RNVideoChat app from here ,you can't make video chat application manually ,there will be so many bugs . So How can I integrate both into one application .Any suggest.

DaveLomber commented 2 years ago

The best way would be the following:

1) check and learn Chat app https://github.com/ConnectyCube/connectycube-reactnative-samples/tree/master/RNChat

along with Chat API documentation https://developers.connectycube.com/reactnative/messaging

2) Check and learn Video Chat app https://github.com/ConnectyCube/connectycube-reactnative-samples/tree/master/RNVideoChat

along with Video Chat API documentation https://developers.connectycube.com/reactnative/videocalling

3) Then, use Chat app as a basis and integrate Video Chat features into it

joy-mollick commented 2 years ago

The best way would be the following:

  1. check and learn Chat app https://github.com/ConnectyCube/connectycube-reactnative-samples/tree/master/RNChat

along with Chat API documentation https://developers.connectycube.com/reactnative/messaging

  1. Check and learn Video Chat app https://github.com/ConnectyCube/connectycube-reactnative-samples/tree/master/RNVideoChat

along with Video Chat API documentation https://developers.connectycube.com/reactnative/videocalling

  1. Then, use Chat app as a basis and integrate Video Chat features into it

I can't make manually video chat working demo without cloning this RNVideoChat example , This is the main problem I can't integrate video features into chat basis app , I have already completed chat app . So I decided adding chat app files with RnVideo Chat example , but unfortunately many unknown errors during doing this . I added whole RNChat navigation as a navigation component to RNVideoChat navigator.js . And then add functionality by pressing button to go there ,but when I use VideoChat ,that is ok but when I navigate to chat app component by pressing button Suddenly unknown errors and undefined is not function and............................ dev=false,minify something error . Could you kindly please help me to work this issue out ?

DaveLomber commented 1 year ago

An updated video chat code sample with CallKit support is implemented

Now it should be easier to integrate both samples together cause they share a similar development flow