From 048c5b7a78e5ab3f1adc9234355e42eedf9b447e Mon Sep 17 00:00:00 2001 From: KGCybeX Date: Sun, 17 Sep 2023 13:48:40 +0200 Subject: [PATCH 1/2] Add `CallSid` tag to missed call notifications --- lib/_internal/twilio_voice_web.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/_internal/twilio_voice_web.dart b/lib/_internal/twilio_voice_web.dart index 5bd814c6..025de3e3 100644 --- a/lib/_internal/twilio_voice_web.dart +++ b/lib/_internal/twilio_voice_web.dart @@ -943,12 +943,13 @@ class Call extends MethodChannelTwilioCall { // TODO(cybex-dev) future actions // {'action': 'callback', 'title': 'Return Call'}, ]; + final callSid = callParams["CallSid"] as String; // show JS notification using SW NotificationService.instance.showNotification( action: action, title: title, - tag: "", + tag: callSid, body: body, actions: actions, requiresInteraction: true, From d1c748d556451ce465b2153b1c217584a81898d3 Mon Sep 17 00:00:00 2001 From: KGCybeX Date: Sun, 17 Sep 2023 14:03:25 +0200 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee23af87..f81ea977 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## Next release +* Fix: [Web] Multiple missed call notifications + ## 0.1.0 * Feat: [Android] Turn off the screen when a call is active and the head is against the handset. @solid-software (https://solid.software)