You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -206,6 +209,19 @@ Notice should be given to using `firebase-messaging-sw.js` in addition to `twili
206
209
_If you need to debug the service worker, open up Chrome Devtools, go to Application tab, and select Service Workers from the left menu. There you can see the service workers and their status.
207
210
To review service worker `notificationclick`, `notificationclose`, `message`, etc events - do this using Chrome Devtools (Sources tab, left panel below 'site code' the service workers are listed)_
208
211
212
+
##### Web Notifications
213
+
214
+
2 types of notifications are shown:
215
+
- Incoming call notifications with 2 buttons: `Answer` and `Reject`,
216
+
- Missed call notifications with 1 button: `Call back`.
217
+
218
+
Notifications are presented as **alerts**. These notifications may not always been shown, check:
219
+
- if the browser supports notifications,
220
+
- if the user has granted permissions to show notifications,
221
+
- if the notifications display method / notifications is enabled by the system (e.g. macOS notifications are disabled, or Windows notifications are disabled, etc).
222
+
- if there are already notifications shown (https://stackoverflow.com/a/36383155/4628115)
223
+
- if system is in 'Do Not Disturb' or 'Focus' mode.
224
+
209
225
### MacOS Setup:
210
226
211
227
The plugin is essentially a [WKWebView](https://developer.apple.com/documentation/webkit/wkwebview)
0 commit comments