cometchat / cometchat-sample-app-react-native

Voice & Video Calling and Text Chat App for React Native
https://www.cometchat.com
Other
332 stars 166 forks source link

Notification not receiving for a group call #52

Closed gajjartejas closed 2 years ago

gajjartejas commented 2 years ago

Describe the problem

the notification for call received only for one to one/direct call but not working for the group call. Once call init, server should send notification to each member.

What was the expected behaviour?

server should send notification to each member.

Reproduction

Enable chat widget and enabled all notification related to the call.

Environment

node v12.14.0 react-native": "0.64.2

TirathBhuva commented 2 years ago

Hey @gajjartejas, In our sample app and UI kit, we are using Direct calling for video calls. You can learn more about direct calls here. We just send a custom message that has the call information. If you want a notification for that then you need to add metaData to the custom message. you can find more detailed explanations over here.

gajjartejas commented 2 years ago

Hi @TirathBhuva Thanks for your response!

I have one issue from app side, Is there any way to get call session id is valid or not?

  1. When person A initiate call(method Default Calling -> .initiateCall) to person B.
  2. Now call push notification arrives to person B(App is killed state.) including call information.
  3. Now person A dismiss call and person B trying to receive call (using session id and CometChat.acceptCall).

Now my question is is there any way to check call is dismissed or not from person B

Thanks.

gajjartejas commented 2 years ago

Hi @TirathBhuva Is it possible to set custom notification sound key and android_channel_id to custom message?

Screenshot 2022-01-21 at 7 03 53 PM

prathamesh-cometchat commented 2 years ago

Hey @gajjartejas, currently we don't have the features to allow custom sound and channel IDs. I am sharing the feature requests for the same:

  1. https://feedback.cometchat.com/extensions/p/push-notifications-custom-sound
  2. https://feedback.cometchat.com/extensions/p/push-notifications-support-for-channels