Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question]: NotificationExtension not being called #1481

Open
1 task done
Tzoockee opened this issue Sep 12, 2024 · 0 comments
Open
1 task done

[question]: NotificationExtension not being called #1481

Tzoockee opened this issue Sep 12, 2024 · 0 comments

Comments

@Tzoockee
Copy link

Tzoockee commented Sep 12, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant