Skip to content

Commit cffa687

Browse files
authored
Update README.md (#216)
"firebase-admin": "^11.8.0" changes
1 parent d1778a1 commit cffa687

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

packages/firebase-messaging/README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -516,15 +516,15 @@ const payload = {
516516
title: 'FCM Notification',
517517
},
518518
apns: {
519-
payload: {
520-
aps: {
521-
'mutable-content': 1, // 1 or true
522-
},
523-
},
524-
fcm_options: {
525-
image: 'image-url',
526-
},
527-
},
519+
payload: {
520+
aps: {
521+
'mutable-content': 1,
522+
},
523+
},
524+
fcmOptions: {
525+
imageUrl: 'image-url',
526+
},
527+
},
528528
};
529529
```
530530
@@ -568,20 +568,20 @@ const message = {
568568
title: 'FCM Notification',
569569
},
570570
apns: {
571-
payload: {
572-
aps: {
573-
'mutable-content': 1,
574-
},
575-
},
576-
fcm_options: {
577-
image: 'image-url',
578-
},
579-
},
580-
android: {
581-
notification: {
582-
image: 'image-url',
583-
},
584-
},
571+
payload: {
572+
aps: {
573+
'mutable-content': 1,
574+
},
575+
},
576+
fcmOptions: {
577+
imageUrl: 'image-url',
578+
},
579+
},
580+
android: {
581+
notification: {
582+
imageUrl: 'image-url',
583+
},
584+
},
585585
};
586586

587587
admin

0 commit comments

Comments
 (0)