Open rajesh-mobicules opened 4 years ago
I doubt the plugin yet supports image notification on iOS.
@EddyVerbruggen Are there plans to implement Firebase Notification Extension any time soon?
It's working fine for Android. The issue is only in ios.
On Wed, 8 Apr, 2020, 12:58 AM Manojkumar Murugesan, < notifications@github.com> wrote:
@EddyVerbruggen https://github.com/EddyVerbruggen Are there plans to implement Firebase Notification Extension any time soon?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/1581#issuecomment-610576702, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANFQ222DOORZE4WNK4FQYDRLN5GNANCNFSM4MDJMHFA .
They are different platforms, they work differently under the hood. Notifications are highly customisable on Android for a long time, with iOS it's something new.
Thanks @manojdcoder @EddyVerbruggen It would be great if you can provide your views on this as this is a much needed functionality.
@EddyVerbruggen Please let me know by if you have any update on this.
I think it could take a while, a PR would be welcomed.
On iOS we must create an UNNotificationServiceExtension for the Image to show up. https://firebase.google.com/docs/cloud-messaging/ios/send-image Nativescript does support Extension for iOS. You can try to create an extension, following this article: https://medium.com/@lucasgoesvalle/custom-push-notification-with-image-and-interactions-on-ios-swift-4-ffdbde1f457
@EddyVerbruggen We are using this plugin in native script. We have to send image as well in the payload of the notification.
We are receiving the image in push notification in android but we are not receiving the image in ios.
Can you please suggest us on this what would be the issue?