Skip to content

Optional Apple push for a companion iOS app - #16

Merged
InnerSpark merged 1 commit into
mainfrom
feat/push
Nov 8, 2026
Merged

InnerSpark merged 1 commit into
mainfrom
feat/push

Conversation

@InnerSpark

Copy link
Copy Markdown
Owner
  • /api/devices registers alert, push-to-start and Live Activity tokens
    per user, with per-device alert choices. /api/push says if it's on.
  • Alerts: net open, first-time check-in, no audio for AUDIO_ALERT_MIN
    minutes during an open net.
  • Live Activity: starts when a net opens (manual or scheduled), updates
    on every check-in change, ends 15 minutes after the net closes.
  • APNs over HTTP/2 with an ES256 token from a .p8 key; dead tokens are
    dropped. Sends run on a background thread.
  • Off unless APNS_KEY_FILE, APNS_KEY_ID, APNS_TEAM_ID and APNS_TOPIC
    are set. New dependencies: httpx[http2], cryptography.

- /api/devices registers alert, push-to-start and Live Activity tokens
  per user, with per-device alert choices. /api/push says if it's on.
- Alerts: net open, first-time check-in, no audio for AUDIO_ALERT_MIN
  minutes during an open net.
- Live Activity: starts when a net opens (manual or scheduled), updates
  on every check-in change, ends 15 minutes after the net closes.
- APNs over HTTP/2 with an ES256 token from a .p8 key; dead tokens are
  dropped. Sends run on a background thread.
- Off unless APNS_KEY_FILE, APNS_KEY_ID, APNS_TEAM_ID and APNS_TOPIC
  are set. New dependencies: httpx[http2], cryptography.
@InnerSpark
InnerSpark merged commit fdd7147 into main Nov 8, 2026
2 checks passed
@InnerSpark
InnerSpark deleted the feat/push branch November 8, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant