Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
3 changes: 2 additions & 1 deletion lib/_internal/twilio_voice_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down