Packages

Watch notification bridge for Raxol. Pushes glanceable summaries and accessibility announcements to Apple Watch (APNS) and Wear OS (FCM). Tap actions route back as events to the TEA app.

Current section

Files

Jump to
raxol_watch lib raxol watch push backend.ex
Raw

lib/raxol/watch/push/backend.ex

defmodule Raxol.Watch.Push.Backend do
@moduledoc """
Behaviour for push notification backends.
Implementations deliver notification payloads to specific device tokens
via platform-specific push services (APNS, FCM).
"""
@doc "Push a notification to a device."
@callback push(device_token :: String.t(), notification :: map()) :: :ok | {:error, term()}
end