Skip to content

Update README.md #216

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

Merged
merged 1 commit into from
Jun 29, 2023
Merged
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
Update README.md
"firebase-admin": "^11.8.0" changes
  • Loading branch information
u007 authored May 22, 2023
commit 4ea9b20d84490fcfcfd7c6ed44a2e871e4a10ac6
46 changes: 23 additions & 23 deletions packages/firebase-messaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,15 +516,15 @@ const payload = {
title: 'FCM Notification',
},
apns: {
payload: {
aps: {
'mutable-content': 1, // 1 or true
},
},
fcm_options: {
image: 'image-url',
},
},
payload: {
aps: {
'mutable-content': 1,
},
},
fcmOptions: {
imageUrl: 'image-url',
},
},
};
```

Expand Down Expand Up @@ -568,20 +568,20 @@ const message = {
title: 'FCM Notification',
},
apns: {
payload: {
aps: {
'mutable-content': 1,
},
},
fcm_options: {
image: 'image-url',
},
},
android: {
notification: {
image: 'image-url',
},
},
payload: {
aps: {
'mutable-content': 1,
},
},
fcmOptions: {
imageUrl: 'image-url',
},
},
android: {
notification: {
imageUrl: 'image-url',
},
},
};

admin
Expand Down