File tree Expand file tree Collapse file tree 1 file changed +23
-23
lines changed
packages/firebase-messaging Expand file tree Collapse file tree 1 file changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -516,15 +516,15 @@ const payload = {
516
516
title: ' FCM Notification' ,
517
517
},
518
518
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
+ },
528
528
};
529
529
` ` `
530
530
@@ -568,20 +568,20 @@ const message = {
568
568
title: ' FCM Notification' ,
569
569
},
570
570
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
+ },
585
585
};
586
586
587
587
admin
You can’t perform that action at this time.
0 commit comments