docs(push): add iOS Live Activities page#3464
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Probably a question for the devex team but is there a way to force it to show something for a snippet even if it's not in the selected language? Else you have to keep flipping the language selector between JS and Swift to view the full page. |
3561365 to
009ead0
Compare
009ead0 to
a59c5b0
Compare
a59c5b0 to
216f0e8
Compare
416ae06 to
fd272b0
Compare
m-hulbert
left a comment
There was a problem hiding this comment.
Just a couple of rewording and ordering suggestions.
Are we writing the getting started guide as part of this PR too?
| link: '/docs/push/publish', | ||
| }, | ||
| { | ||
| name: 'Live Activities', |
There was a problem hiding this comment.
This should match with the page title, so we either put iOS on both, or drop it on the title.
|
|
||
| Keep both identifiers: `id` drives every later server call, and `apnsChannelId` is what devices subscribe to. `messageStoragePolicy: 1` tells APNs to cache the most recent broadcast for late joiners. | ||
|
|
||
| ## Start a Live Activity <a id="start"/> |
There was a problem hiding this comment.
Can we have a short sentence explaining the options rather than 2 consecutive headings please?
| Live Activities support is currently Experimental. APIs may change before general availability. | ||
| </Aside> | ||
|
|
||
| ## How it works <a id="how-it-works"/> |
There was a problem hiding this comment.
Is this required to read before getting stuck in? Reading through it I'm guessing maybe the note is, but the other parts aren't - in which case I'd suggest it comes after the setup / using sections.
There was a problem hiding this comment.
put note near the code, moved section after the setup
608530d to
0c2bdf9
Compare
0c2bdf9 to
af0f274
Compare
m-hulbert
left a comment
There was a problem hiding this comment.
CI failure is unrelated so I've re-run. Changes LGTM
Document starting, updating, and ending iOS Live Activities via Ably-managed APNs broadcast channels: device registration with push-to-start tokens, broadcast channel creation, the start/update/end server calls, and an aps payload and headers reference. Marked Experimental. Co-authored-by: Mark Hulbert <39801222+m-hulbert@users.noreply.github.com> Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
af0f274 to
2736e76
Compare
Description
Document starting, updating, and ending iOS Live Activities via Ably-managed APNs broadcast channels: device registration with push-to-start tokens, broadcast channel creation, the start/update/end server calls, and an aps payload and headers reference. Marked Experimental.
Checklist