Aman
Aman

Reputation: 1

Flutter : Rich notification for IOS

I have added Notification extension service but IOS app not showing image in notification.The errer after I added notification extension service

I am trying to handle image in notification using firebase notification.

The payload i use for firebase to send notification

{
    "notification": {
        "mutable_content": true,
        "title": "title",
        "body": "body"
    },
    "to" : "__token__",
    "data": {
        "image": "https://ilyarm.ru/assets/949163b5edd92aa1ec0379734-697x403.jpg"
    }
}

Upvotes: 0

Views: 296

Answers (1)

Hayes
Hayes

Reputation: 1

You are receiving a cyclic error.

In Xcode go to your main target (in my case Runner) and then select the 'Build Phases' tab.

Move the 'Embedded Foundation extensions' option above the 'Thin Binary' option.

Should look something like this:

  • Embedded Foundation extensions
  • Thin Binary
  • [CP] Embed Pods Frameworks

Upvotes: 0

Related Questions