OneSignal-iOS-SDK icon indicating copy to clipboard operation
OneSignal-iOS-SDK copied to clipboard

[question]: NotificationExtension not being called

Open Tzoockee opened this issue 1 year ago • 0 comments

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

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

Tzoockee avatar Sep 12 '24 15:09 Tzoockee