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) 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,