Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add aps key to apns publish payload #334

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add aps key to apns publish payload
benw-pusher committed May 29, 2024
commit 4f09a93385a6e5a6ca9f1f3474c59496bdd625e6
8 changes: 5 additions & 3 deletions docs/beams/reference/publish-payloads.md
Original file line number Diff line number Diff line change
@@ -42,9 +42,11 @@ The full set of options for the APNs section of the `notify` call is described i
```js
publishToUsers(["SOME_USER"], {
apns: {
alert: {
title: "You have a new message",
body: "Hi!",
aps: {
alert: {
title: "You have a new message",
body: "Hi!",
}
},
data: {
some: "metadata",