-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Which package/packages do you use?
"@stream-io/video-client": "^1.27.0"
Describe the bug
Push notifications are not working when a new user is added to an ongoing call.
To Reproduce
Steps to reproduce the behavior:
First, we start the call using the following method:
await call.getOrCreate({
ring: true,
data: {
members: [
{ user_id: agentId },
{ user_id: callUserData?.userId ?? '', role: 'admin' },
],
},
});
This works correctly and the initial users receive the call notification as expected.
Then, we try to add another member to the existing call using this method:
await this.call.updateCallMembers({
update_members: [
{
user_id: this.driverId,
role: 'admin',
},
],
});
The user is successfully added to the call, but no push notification is sent to the newly added user.
Expected behavior
We expect the newly added mobile user to receive a push notification indicating that they have been added to a call, and that they can join the call directly from the notification.
Additional details
We are using different SDKs/libraries for each application (web, mobile, and backend).
We would like to know if using different libraries/SDK versions across platforms could be affecting push notification delivery or causing any unintended side effects.
SDKs used per platform:
Web:
"@stream-io/video-client": "^1.27.0"
Mobile:
stream_video (Flutter): ^0.11.0
Backend:
"@stream-io/node-sdk": "^0.5.1",