Liking cljdoc? Tell your friends :D

boundary.push.core.device


detect-platformclj

(detect-platform token)

Heuristic platform detection from token format. Returns :fcm, :apns, or nil.

Heuristic platform detection from token format. Returns :fcm, :apns, or nil.
sourceraw docstring

prepare-device-recordclj

(prepare-device-record user-id device-info id now)

Pure: build device record from user-id and device-info. Caller supplies id and now.

Pure: build device record from user-id and device-info. Caller supplies id and now.
sourceraw docstring

stale-token?clj

(stale-token? {:keys [last-used-at]} max-age-days now)

Check if device token hasn't been used within max-age-days. Caller supplies current instant.

Check if device token hasn't been used within max-age-days. Caller supplies current instant.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close