Skip to content

[question]: NotificationExtension not being called #1481

@Tzoockee

Description

@Tzoockee

How can we help?

Hello,

I have setup the notification extension in my flutter app as described here: https://documentation.onesignal.com/docs/ios-sdk-setup

Tested on a real iOS device, everything works fine, but when I tried to add images to the notification and modified the NotificationService::didReceive method in NotificationService.swift I realized that actually this is not called at all (tried to modify the notification's body, no effect).

What I checked so far:

  • the NotificationService.swift is part of the project and as being built.
  • the notification has the mutable-content flag.
  • the image URL is secure (https)
  • the info.plist looks ok.
  • the podfile looks ok.

Unfortunatelly I can't really debug it (don't have a mac machine), using code magic for deployment.

Anything else I can check? I'm out of ideas, google is out of ideas, chat gpt is out of ideas :).

Thanks

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions