Prakhar Pratyush
6ab6df96c8
push_notification: Send a list of push requests.
...
Earlier, we were passing a map `device_id_to_encrypted_data`
and http headers as separate fields to bouncer.
The downside of that approach is it restricts the bouncer to
process only one type of notice i.e. either notification for
a new message or removal of sent notification, because it
used to receive a fixed priority and push_type for all the
entries in the map.
Also, using map restricts the bouncer to receive only one
request per device_id. Server can't send multiple notices
to a device in a single call to bouncer.
Currently, the server isn't modelled in a way to make a
single call to the bouncer with:
* Both send-notification & remove-notification request data.
* Multiple send-notification request data to the same device.
This commit replaces the old protocol of sending data with
a list of objects where each object has the required data
for bouncer to send it to FCM or APNs.
This makes things a lot flexible and opens possibility for
server to batch requests in a different way if we'd like to.
2025-07-25 12:47:55 -07:00
..
2025-07-11 13:11:56 -07:00
2025-01-15 09:56:19 -08:00
2025-05-29 15:39:03 -07:00
2025-07-11 10:18:58 -07:00
2025-07-11 12:34:46 -07:00
2025-03-05 09:48:58 -08:00
2025-05-28 17:02:41 -07:00
2025-07-17 15:44:53 -07:00
2025-06-30 17:10:36 -07:00
2025-05-29 15:39:03 -07:00
2025-07-17 15:44:53 -07:00
2025-02-13 16:35:43 -08:00
2025-03-10 09:36:30 -07:00
2025-05-15 12:37:29 -07:00
2025-06-11 15:41:50 -07:00
2025-04-15 16:24:59 -07:00
2025-06-20 16:04:26 -07:00
2025-07-25 12:47:55 -07:00
2025-07-07 17:15:08 -07:00
2025-03-04 16:09:25 -08:00
2025-07-02 10:21:08 -07:00
2025-03-04 16:09:25 -08:00
2025-03-26 10:54:38 -07:00
2025-07-14 14:52:38 -07:00
2025-07-24 22:33:49 -07:00
2025-05-18 23:58:59 -07:00
2025-02-25 11:53:08 -08:00
2025-03-28 16:45:07 -07:00
2025-07-22 17:08:55 -07:00
2025-07-17 15:44:53 -07:00
2024-11-18 16:12:31 -08:00
2025-07-09 15:31:17 -07:00
2025-06-01 11:38:02 -07:00
2025-06-12 09:32:38 -07:00
2025-03-05 13:59:58 -08:00
2025-04-30 00:06:43 -07:00
2025-04-23 17:41:51 -07:00
2025-07-11 13:11:56 -07:00
2025-07-21 11:08:25 -07:00
2025-07-17 15:44:53 -07:00
2025-06-19 10:44:37 -07:00
2024-12-06 09:23:02 -08:00
2025-07-24 11:52:20 -07:00
2025-07-22 20:57:36 -07:00
2025-06-05 17:03:49 -07:00
2025-07-09 14:25:53 -07:00
2025-07-09 14:25:53 -07:00
2025-07-24 16:41:52 -07:00
2025-07-22 16:59:47 -07:00
2025-07-09 14:25:53 -07:00
2025-02-28 12:10:16 +05:30
2025-03-28 09:24:47 -07:00
2025-03-11 12:26:21 -07:00
2025-03-20 10:57:54 -07:00
2025-02-25 11:53:08 -08:00
2025-04-16 13:17:19 -07:00
2025-05-23 16:25:08 -07:00
2025-07-22 16:59:47 -07:00
2024-10-10 11:37:44 -07:00
2025-03-13 14:38:16 -07:00
2025-05-23 16:25:08 -07:00
2024-09-24 19:27:21 -07:00
2025-01-30 18:46:02 -08:00
2025-06-30 11:19:00 -07:00
2025-05-13 17:36:53 -07:00
2025-02-26 12:51:57 -08:00
2025-07-22 14:30:13 -07:00
2025-07-16 16:59:58 -07:00
2025-05-19 16:39:44 -07:00
2024-12-06 09:23:02 -08:00
2025-04-07 17:34:52 -07:00
2024-10-13 16:09:04 -07:00
2025-03-28 17:44:58 -07:00
2025-02-16 17:22:47 -08:00
2025-07-16 13:53:20 -07:00
2025-07-03 14:40:49 -07:00
2025-06-17 19:45:36 -07:00
2025-07-21 11:08:25 -07:00
2025-03-17 11:03:25 -07:00
2025-07-21 22:46:38 -07:00
2025-07-22 12:02:06 -07:00
2025-01-24 17:56:44 -08:00
2025-05-13 16:23:21 -07:00
2025-07-10 10:46:59 -07:00
2025-07-21 11:08:25 -07:00
2024-10-30 09:48:32 -07:00
2024-12-06 09:23:02 -08:00
2025-07-22 16:59:47 -07:00
2025-06-11 15:41:50 -07:00
2025-07-17 14:37:11 -07:00
2025-06-18 13:03:56 -07:00
2025-02-14 17:04:51 -08:00
2025-07-24 22:40:12 -07:00
2025-07-21 22:48:01 -07:00
2024-11-10 22:43:55 -08:00
2025-02-28 13:20:46 -08:00
2025-07-24 22:40:12 -07:00
2025-07-24 22:40:12 -07:00
2025-07-24 22:40:12 -07:00
2025-02-24 15:37:40 -08:00
2025-07-03 14:40:49 -07:00
2025-07-03 11:45:35 -07:00
2025-07-22 16:21:05 -07:00
2025-07-18 17:37:26 -07:00
2025-04-15 10:28:18 -07:00
2025-07-11 14:15:49 -07:00
2025-06-25 11:49:02 -07:00
2025-06-06 18:06:06 -07:00
2025-02-13 12:40:53 -08:00
2025-04-17 10:55:05 -07:00
2025-07-22 16:59:47 -07:00