Skip to content

docs: announce one-click APNs setup - #14554

Merged
atharvadeosthale merged 18 commits into
mainfrom
apns-one-click
Nov 5, 2026
Merged

atharvadeosthale merged 18 commits into
mainfrom
apns-one-click

Conversation

@ArnabChatterjee20k

@ArnabChatterjee20k ArnabChatterjee20k commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Announcement, changelog and docs for one-click APNs setup with the CLI, appwrite init apns (appwrite/sdk-generator#2015). The command is in released CLI versions; the docs describe the latest CLI.

Changes

  • products/messaging/apns#one-click-setup: a new section above the Console steps.
    • What init apns sets up: the production and sandbox providers, the aps-environment entitlement and remote-notification background mode, the Apple platform, and the App ID check.
    • Providing a key: a .p8 in the project, --key-path, --create-key, or the Apple Developer portal; what happens when the CLI creates a key; the appwrite, expo and fastlane sign-in setups as a table.
    • Rerun behavior, a table of all the flags, and running it in CI.
  • tooling/command-line/commands: an init apns [options] row.
  • products/messaging/send-push-notifications: an info box on the APNs tab pointing to the CLI setup.
  • Blog post announcing-apns-one-click-setup, with FAQs.
  • Changelog entry 2026-11-05, linking the post and the docs.
  • Blog manifest and cover dimensions regenerated so the new post resolves.

Blog and changelog are dated 2026-11-05. Claims were checked against initpush.go in CLI 28.10.2.

Screenshots

Rendered locally with vite dev.

APNs → One-click setup with the CLI

APNs docs, CLI setup section

Send push notifications → APNs tab

Push notifications docs, CLI info box

CLI commands

CLI commands docs, init apns row

Blog post

Blog post

Changelog

Changelog entry

@appwrite

appwrite Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

New Console

Project ID: new-console

Sites (1)
Site Status Logs Preview QR
 New Console
new-console
Failed Failed View Logs Preview URL QR Code

Tip

Preview deployments create instant URLs for every branch and commit

@ArnabChatterjee20k
ArnabChatterjee20k marked this pull request as ready for review October 15, 2026 14:03
@luxor-code-review

luxor-code-review Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Review complete. No issues found — approved ✅.


This is a content-only change announcing the APNS one-click setup flow: a new blog post with its cover image, a changelog entry, and documentation updates for APNS push notifications and CLI commands, with the generated blog manifest and SEO cover-dimension metadata regenerated to match.

Files Change
apps/console/src/content/blog/posts/announcing-apns-one-click-setup.markdoc New blog post announcing APNS one-click setup.
apps/console/public/images/blog/announcing-apns-one-click-setup/cover.avif Cover image asset for the new post.
apps/console/src/lib/blog/generated/manifest.ts, apps/console/src/lib/seo/cover-dimensions.json Generated metadata regenerated to include the new post and its cover dimensions.
apps/console/src/content/changelog/entries/2026-10-15-1.markdoc Changelog entry for the announcement.
apps/console/src/content/docs/products/messaging/apns/index.markdoc, .../send-push-notifications/index.markdoc, .../tooling/command-line/commands/index.markdoc Documentation updates for APNS setup and CLI command coverage.

Reviewed commit: e5c94d9

@ghost

ghost commented Oct 15, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Adds one-click APNs setup guidance to the APNs and push-notification documentation, and lists init apns in the CLI command reference. Publishes an announcement and changelog entry with examples for key creation, CI use, reruns, and Apple App ID checks, and refreshes the generated blog metadata and cover dimensions.

Latest changes: The newest commits update the announcement date to October 30, clarify key handling and rerun behavior, expand the APNs guide with Expo and CI details, and add the matching October 30 changelog entry.

Verdict New comments Fixed Still open
✅ Approved 0 1 0
📂 Walkthrough · 8
File Change
apps/console/public/images/blog/announcing-apns-one-click-setup/cover.avif Adds the cover image for the APNs setup announcement.
apps/console/src/content/blog/posts/announcing-apns-one-click-setup.markdoc Publishes the APNs setup announcement with examples and FAQs, updated for the October 30 announcement date.
apps/console/src/content/changelog/entries/2026-10-30.markdoc Adds the October 30 changelog entry linking to the announcement and APNs setup guide.
apps/console/src/content/docs/products/messaging/apns/index.markdoc Documents CLI setup, key options, Expo configuration, CI usage, and manual APNs setup.
apps/console/src/content/docs/products/messaging/send-push-notifications/index.markdoc Links the APNs setup guide from the Apple APNs tab.
apps/console/src/content/docs/tooling/command-line/commands/index.markdoc Adds init apns to the CLI command reference.
apps/console/src/lib/blog/generated/manifest.ts Updates the generated announcement date and last-updated metadata.
apps/console/src/lib/seo/cover-dimensions.json Updates the generated dimensions for the announcement cover.
✅ Fixed since the last review · 1
  • FAQ contradicts the documented App ID check · apps/console/src/content/blog/posts/announcing-apns-one-click-setup.markdoc:23
🔇 Filtered out · 1

Findings Hansi considered but did not post.

Finding Why
Keep the Notification Service Extension guidance Verifier: The finding conflates ordinary APNs notifications with Appwrite's MQTT wake-up delivery. The linked guide registers an APNs token with account.createPushTarget and sends a title/body notification. Messaging.php:385-401 sends that notification with wake=false; buildPushMessage at 1624-1666 preserves the title/body, and the APNS adapter at 48-53 and 90-100 emits an alert push. Such notifications can be displayed by iOS while the app is not running without a Notification Service Extension. The extension is needed for the separate MQTT wake path (Messaging.php:353-379, 1611-1621), which sends a placeholder with mutable-content and fetches the actual message via MQTT. Neither the CLI setup nor the linked walkthrough configures that path. The SDK changelog establishes that the extension exists, not that it is required for the APNs workflow documented here.

Reviewed the commits since 1569b79 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Tier A · Looks good to merge. Summary

@ArnabChatterjee20k ArnabChatterjee20k mentioned this pull request Oct 16, 2026
4 tasks done
@adityaoberai

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

(any older dates can be updated to tomorrow (that's when we will merge this in)

# Conflicts:
#	apps/console/src/content/changelog/entries/2026-10-15-1.markdoc
#	apps/console/src/lib/blog/generated/manifest.ts

Co-authored-by: adityaoberai <[email protected]>

Copilot AI commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

@copilot resolve the merge conflicts in this pull request

(any older dates can be updated to tomorrow (that's when we will merge this in)
...

Merged main in 1569b79 and resolved the conflicts. main now uses 2026-10-15-1.markdoc for the cron changelog, so the APNs entry is now 2026-10-22.markdoc. Its date and the blog post's date are both set to 2026-10-22. I regenerated the blog manifest with generate:blog-manifest.

adityaoberai and others added 3 commits October 29, 2026 19:37
main now has its own 2026-10-22 changelog entry, so the APNs entry moves to
2026-10-30.markdoc. The blog post and changelog dates move to 2026-10-30,
the merge day, and the blog manifest is regenerated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Checked against internal/cmd/initpush.go in sdk-for-cli, unchanged from
28.5.0 through 28.10.0.

- A rerun with both providers set up leaves them alone, and still updates
  Xcode, adds the Apple platform and checks the App ID. The rerun FAQ, the
  --force row and the intro said it only checked the App ID, or always
  updated the providers.
- --key-path also replaces the key on configured providers, and --reset
  creates a new key.
- Created keys land in the project folder, can be downloaded only once, and
  Apple allows two per team.
- Expo projects need the entitlement and background mode in app.json.
- CI also needs --bundle-id or --team-id when the CLI would show a picker.
- The Notification Service Extension and App Group are for the Appwrite
  push provider. A plain APNs provider sends the full notification, so the
  guide now points to device registration instead.
- The sample output shows the key the CLI picked up.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A 1920x1080 cover in the style of the recent announcements: the title next
to a terminal running appwrite init apns and the push it delivers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@adityaoberai

Copy link
Copy Markdown
Contributor

@ArnabChatterjee20k the bot's comment on the rerun FAQ was valid, and the same rerun wording was in the docs too. I checked against initpush.go (unchanged from 28.5.0 to 28.10.0) and fixed it in ba7c3f9:

  • A rerun with both providers set up leaves them alone, but still updates Xcode, adds the Apple platform and checks the App ID. The FAQ, the --force row and the intro now say that, and that --key-path also replaces the key.

Other fixes while checking:

  • Removed the Notification Service Extension / App Group step from the guide and the post. It's only needed with the Appwrite push provider. A plain APNs provider sends the full notification (Messaging.php), so it read as a required step that isn't.
  • --reset also creates a new key. Added Apple's two-keys-per-team limit, where a created key is saved, the portal flow, Expo app.json, and --bundle-id / --team-id for CI.
  • "the command asks nothing" was off: the App ID check can still ask to sign in.
  • Dates are now 2026-10-30. The changelog is 2026-10-30.markdoc, since main has its own 10-22 entry. New cover in be8c9c5.

One for the CLI: apnsNextSteps() tells every user to enable the Appwrite push provider and add the extension, but that provider is hidden in the Console (appwritePush: false on both profiles in console-profiles.ts). Can you gate or reword that hint in sdk-generator?

@ArnabChatterjee20k

Copy link
Copy Markdown
Member Author

Thanks @adityaoberai. I checked the docs fixes against initpush.go on sdk-generator main (same as 28.10.0) and they all match: the rerun behavior, --force / --key-path replacing the key, --reset creating a key, the two-keys-per-team stop, the saved key and sign-in locations, and the App ID check that can still ask to sign in.

The CLI hint is fixed in appwrite/sdk-generator#2173. apnsNextSteps() now prints nothing with APNs alone, and shows only the Notification Service Extension hint when the project has an enabled Appwrite push provider. The "Enable the Appwrite push provider" hint is gone, since the Console doesn't offer that provider.

@appwrite

appwrite Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Adds documentation for appwrite init apns, including its options and CI usage, and publishes an announcement and changelog entry with generated blog metadata and cover dimensions.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 8
File Change
apps/console/src/content/blog/posts/announcing-apns-one-click-setup.markdoc Adds the APNs setup announcement and FAQs.
apps/console/src/content/changelog/entries/2026-11-05.markdoc Adds a changelog entry linking to the announcement and APNs setup guide.
apps/console/src/content/docs/products/messaging/apns/index.markdoc Documents CLI-based setup, key handling, options, reruns, and CI.
apps/console/src/content/docs/products/messaging/send-push-notifications/index.markdoc Links the APNs workflow to the CLI setup guide.
apps/console/src/content/docs/tooling/command-line/commands/index.markdoc Lists the init apns command.
apps/console/src/lib/blog/generated/manifest.ts Registers the new post in the generated blog manifest.
apps/console/src/lib/seo/cover-dimensions.json Registers the new cover image dimensions.
apps/console/public/images/blog/announcing-apns-one-click-setup/cover.avif Adds the announcement cover image.
🔇 Filtered out · 1

Findings Hansi considered but did not post.

Finding Why
Align the announcement dates with the stated launch date Verifier: The changelog filename and date, blog post date, and generated blog manifest all consistently use 2026-11-05. File history shows an explicit change dating the announcement November 5. No supplied PR description or repository evidence establishes October 15 as the required date; the October 15 entries found belong to other announcements. This is not a demonstrated chronology bug.

Reviewed bf85307 · Details · Comment @appwrite review to re-run, or mention @appwrite with a question.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@atharvadeosthale
atharvadeosthale merged commit c102c80 into main Nov 5, 2026
35 of 36 checks passed
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.

4 participants