Skip to content

Commit 048c5b7

Browse files
committed
Add CallSid tag to missed call notifications
1 parent 8372164 commit 048c5b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/_internal/twilio_voice_web.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,12 +943,13 @@ class Call extends MethodChannelTwilioCall {
943943
// TODO(cybex-dev) future actions
944944
// {'action': 'callback', 'title': 'Return Call'},
945945
];
946+
final callSid = callParams["CallSid"] as String;
946947

947948
// show JS notification using SW
948949
NotificationService.instance.showNotification(
949950
action: action,
950951
title: title,
951-
tag: "",
952+
tag: callSid,
952953
body: body,
953954
actions: actions,
954955
requiresInteraction: true,

0 commit comments

Comments
 (0)