(build-apns-payload notification)Pure: transform rendered notification into APNs payload.
Pure: transform rendered notification into APNs payload.
(build-fcm-payload notification device-token)Pure: transform rendered notification into FCM v1 API payload.
Pure: transform rendered notification into FCM v1 API payload.
(classify-error platform error-code)Pure: classify provider error code into action category.
Pure: classify provider error code into action category.
(group-devices-by-platform devices)Group devices by :platform key.
Group devices by :platform key.
(result->analytics-event notification-id
{:keys [device-token platform success? message-id
error]}
timestamp)Pure: transform provider send result into analytics event map. Caller supplies timestamp.
Pure: transform provider send result into analytics event map. Caller supplies timestamp.
(retry-delay-ms retry-config attempt)Pure: calculate backoff delay in ms for attempt n.
Pure: calculate backoff delay in ms for attempt n.
(stringify-values m)Convert map keys to strings, values to strings. FCM data field requires string values.
Convert map keys to strings, values to strings. FCM data field requires string values.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |