-
Notifications
You must be signed in to change notification settings - Fork 239
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
Remote Notification support - Not working on iOS (Simulator and Real Device) #1125
Comments
Also I want to make clear that it didn't work with the steps provided in the docs. I did some changes myself but I am still not sure which of all the things I tried actually helped. |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
Even though I managed somehow to make it work once, when I tried to recreate it (multiple times) I wasn't lucky enough to have the same result...
Issue Description: I am unable to receive remote notifications with an image using Notifee. I have tested both on an iPhone 14 Pro simulator with iOS 17.0 and a real iPhone 14 Pro device with iOS 18. Despite trying various configurations, the image does not appear in the notification. I followed the documentation for sending remote notifications with images, but it still doesn't work.
Environment:
Notifee Version:
9.1.1
React Native Version:
0.73.6
Platform:
iOS
Device:
iPhone 14 Pro
(Simulator and Real Device)OS Version:
iOS 17.0
(Simulator) andiOS 18
(Real Device)Xcode Version:
Version 16.0 (16A242d)
Steps to Reproduce:
Install Notifee and configure it to handle remote notifications. (followed carefully these steps)
Send a remote notification with an image payload.
Test on both an iPhone 14 Pro simulator (iOS 17.0) and a real device (iPhone 14 Pro with iOS 18).
Observe that the notification does not display the image.
Expected Behavior: Remote notifications should include the image when configured with the appropriate payload.
Actual Behavior: The notification is received, but the image is not displayed on both the simulator and real device.
Relevant Code:
Podfile
NotificationService.m
Notification.ts (Back end call)
I would really appreciate any help!
Also I tried the following "tips":
DISCLAIMER: The pods installation and the build are successful. I get a notification. But it seems like the notifee_options are ignored.
The most annoying part is that I managed to make it work and forgot to commit my changes before trying to recreate it. :)
The text was updated successfully, but these errors were encountered: