Skip to content

Commit 784d0b5

Browse files
authored
Merge pull request #170 from cybex-dev/fix_web_multiple_missed_calls
Fix missed call notifications
2 parents 8372164 + d1c748d commit 784d0b5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Next release
22

3+
* Fix: [Web] Multiple missed call notifications
4+
35
## 0.1.0
46

57
* Feat: [Android] Turn off the screen when a call is active and the head is against the handset. @solid-software (https://solid.software)

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)