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 = {
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
587587admin
You can’t perform that action at this time.
0 commit comments