OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your native iOS app with OneSignal. https://onesignal.com
Other
493
stars
262
forks
source link
[question]: NotificationExtension not being called #1481
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
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:
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