ekzyis
b1a0abe32c
Service Worker rewrite ( #2274 )
...
* Convert all top-level arrow functions to regular functions
* Refactor webPush.sendNotification call
* Refactor webPush logging
* Rename var to title
* Rewrite service worker
This rewrite simplifies the service worker by removing
* merging of push notifications via tag property
* badge count
These features weren't properly working on iOS. We concluded that we don't really need them.
For example, this means replies will no longer get merged to "you have X new replies" but show up as individual notifications.
Only zaps still use the tag property so devices that support it can still replace any previous "your post stacked X sats" notification for the same item.
* Don't use async/await in service worker
* Support app badge count
* Fix extremely slow notificationclick
* Fix serialization and save in pushsubscriptionchange event
2025-07-10 11:54:23 -05:00
..
2025-07-07 15:18:15 -05:00
2025-01-20 15:02:03 +01:00
2025-07-07 14:34:37 -05:00
2024-12-20 18:15:06 -06:00
2024-09-07 10:01:00 -05:00
2025-03-25 15:57:53 -05:00
2024-03-19 19:37:31 -05:00
2024-07-12 17:34:46 -05:00
2025-05-12 17:59:47 -05:00
2024-10-02 19:24:01 -05:00
2024-11-27 07:39:05 -06:00
2025-04-15 15:41:33 -05:00
2025-04-14 15:33:00 -05:00
2025-03-25 12:24:15 -05:00
2023-09-11 16:29:45 -05:00
2024-04-16 17:58:26 -05:00
2024-04-26 21:22:30 -05:00
2024-12-27 14:52:32 -06:00
2024-12-20 18:16:24 -06:00
2025-02-10 19:19:22 -06:00
2024-10-30 13:49:57 -05:00
2024-09-28 16:33:07 -05:00
2024-09-26 17:37:13 -05:00
2024-04-08 09:13:12 -05:00
2024-03-25 15:35:32 -04:00
2024-07-10 19:23:05 -05:00
2024-12-27 14:52:32 -06:00
2025-04-15 14:57:01 -05:00
2024-07-12 15:18:13 -05:00
2025-01-29 19:00:05 -06:00
2024-11-22 08:25:20 -06:00
2025-02-14 11:37:24 -06:00
2024-12-27 14:52:32 -06:00
2025-02-10 19:19:22 -06:00
2024-12-27 14:52:32 -06:00
2025-06-17 18:33:42 -05:00
2025-07-07 14:15:26 -05:00
2025-01-03 10:33:07 -06:00
2023-11-10 09:22:14 -06:00
2024-11-30 19:12:13 -06:00
2024-04-08 09:13:12 -05:00
2025-07-07 14:34:37 -05:00
2024-04-04 18:50:52 -05:00
2025-06-19 11:54:55 -05:00
2024-10-30 13:41:09 -05:00
2024-03-28 18:18:44 -05:00
2024-09-12 13:05:11 -05:00
2024-09-02 18:25:02 -05:00
2024-12-01 16:31:47 -06:00
2024-07-01 12:02:29 -05:00
2024-11-27 23:00:27 +01:00
2024-11-15 18:38:14 -06:00
2025-07-07 14:34:37 -05:00
2025-01-29 19:00:05 -06:00
2025-04-15 14:57:01 -05:00
2025-04-01 17:19:22 -05:00
2024-05-15 12:05:50 -05:00
2025-02-03 19:56:29 -06:00
2025-01-06 17:22:56 -06:00
2024-10-30 13:49:47 -05:00
2022-01-27 13:18:48 -06:00
2024-09-19 13:13:14 -05:00
2024-11-18 17:33:45 -06:00
2025-07-04 01:14:45 -05:00
2025-06-13 23:10:32 -05:00
2023-08-08 13:19:31 -05:00
2025-02-10 19:19:22 -06:00
2024-04-15 16:23:26 -05:00
2025-05-12 15:46:34 -05:00
2024-11-18 16:46:24 -06:00
2024-09-12 13:05:11 -05:00
2025-04-12 14:23:08 -05:00
2021-10-15 13:05:34 -05:00
2024-04-12 18:37:04 -05:00
2024-09-12 13:05:11 -05:00
2025-01-28 15:30:54 -06:00
2025-01-04 15:32:45 -06:00
2024-07-11 16:58:55 -05:00
2024-05-12 13:55:56 -05:00
2024-12-19 08:27:45 -06:00
2025-04-09 15:29:44 -05:00
2024-07-19 14:47:12 -05:00
2024-03-19 19:37:31 -05:00
2023-07-24 13:53:53 -05:00
2025-07-07 14:34:37 -05:00
2023-07-24 13:53:53 -05:00
2023-10-03 14:35:53 -05:00
2025-04-15 17:19:14 -05:00
2024-12-27 14:52:32 -06:00
2023-09-28 16:52:11 -05:00
2025-03-31 12:02:46 -05:00
2025-02-03 19:22:02 -06:00
2025-03-18 18:16:36 -05:00
2024-11-18 13:05:51 -06:00
2024-11-27 22:54:00 +01:00
2024-11-28 18:47:01 -06:00
2024-03-19 19:37:31 -05:00
2025-02-07 13:38:57 -06:00
2024-07-12 15:18:13 -05:00
2023-05-06 16:51:17 -05:00
2025-06-13 21:42:28 -05:00
2025-07-04 01:14:45 -05:00
2024-03-19 19:37:31 -05:00
2025-07-10 11:54:23 -05:00
2024-09-12 13:05:11 -05:00
2024-03-19 19:37:31 -05:00
2025-02-28 19:15:18 -06:00
2024-11-29 19:58:18 -06:00
2025-03-19 08:19:19 -05:00
2024-03-26 18:36:31 -05:00
2025-04-22 08:02:36 -05:00
2024-05-12 13:55:56 -05:00
2024-09-13 15:54:30 -05:00
2025-02-07 13:38:57 -06:00
2025-06-13 15:01:25 -05:00
2025-06-13 15:01:25 -05:00
2024-09-12 13:05:11 -05:00
2024-09-12 13:05:11 -05:00
2025-06-17 18:33:42 -05:00
2025-06-17 18:33:42 -05:00
2024-12-13 15:03:04 +01:00
2024-09-24 13:43:15 -05:00
2024-07-11 16:58:55 -05:00
2024-11-19 19:12:18 -06:00
2024-12-20 18:16:24 -06:00
2024-12-12 09:35:30 -06:00
2024-09-03 09:15:04 -05:00
2025-03-25 15:57:53 -05:00
2025-05-05 09:56:41 -05:00
2023-08-06 13:04:25 -05:00
2024-10-30 13:49:47 -05:00
2025-07-10 11:54:23 -05:00
2024-11-19 14:58:48 -06:00
2025-02-14 19:25:11 -06:00
2025-04-14 19:40:43 -05:00
2024-08-14 14:29:24 -05:00
2023-10-06 15:01:51 -05:00
2024-12-05 08:52:32 -06:00
2025-03-01 16:56:18 -06:00
2024-03-19 19:37:31 -05:00
2025-02-28 19:15:18 -06:00
2025-04-15 15:41:33 -05:00
2024-03-13 19:26:59 -05:00
2024-12-18 10:12:11 -06:00
2024-05-15 12:05:50 -05:00