The images in FCM push notifications are not displaying on iOS. #12643
Unanswered
mickeyblsk
asked this question in
Q&A
Replies: 2 comments
-
is there any progress on this issue? I am facing same for last week but not able to resolve |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
FCM push notification image not displaying on iOS
I'm trying to implement FCM messages with images in my project, and while it works fine on Android, I'm encountering an issue where the images are not displayed on iOS.
I've attempted to intercept and re-add the images to the attachments in the func userNotificationCenter(_ center: UNUserNotificationCenter, willPresent notification: UNNotification, withCompletionHandler completionHandler: @escaping (UNNotificationPresentationOptions) -> Void) method in AppDelegate.swift to display the images when the app is opened. However, when the app is running in the background or closed, the images in received push notifications are not displayed due to a failure to handle them properly.
Could anyone provide guidance on how to resolve this issue?
Approximately minimal Flutter execution section:
Approximately minimal AppDelegate execution section:
Beta Was this translation helpful? Give feedback.
All reactions