plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[@nativescript/local-notifications] Support notification thumbnails on iOS

Open LewisSmallwood opened this issue 2 years ago • 2 comments

For local notifications, It would be great to support the thumbnail property on iOS.

It is possible but would require a rewrite to support a Notification Service Extension as outlined in this article.

https://medium.com/@lucasgoesvalle/custom-push-notification-with-image-and-interactions-on-ios-swift-4-ffdbde1f457

LewisSmallwood avatar May 05 '23 15:05 LewisSmallwood

Could the following Firebase Messaging package solve your needs @LewisSmallwood ?

Of course it would be nice to have in the core but I’m guessing that it’s a non core/highest priority item I can suspect, so just wanted to point you to a solution which worked for us on this a couple of previous projects already.

https://www.npmjs.com/package/@nativescript/firebase-messaging#send-an-image-in-the-notification-payload

vpiskunov avatar Jun 03 '24 01:06 vpiskunov

This is already supported using the image option?

Screenshot 2024-06-25 at 18 25 22
Screenshot 2024-06-25 at 18 25 51

insytes avatar Jun 25 '24 17:06 insytes