Pushjet-Android icon indicating copy to clipboard operation
Pushjet-Android copied to clipboard

Rich Notifications

Open 0xcaff opened this issue 9 years ago • 3 comments

It would be awesome if rich notifications with images, multiple actions, and maybe even reply actions were supported.

0xcaff avatar Jun 18 '16 16:06 0xcaff

I Think reply actions are too hard to be implemented on what is basically a client to pull data from a remote MQ, there is no direct connection between the client and server.

IMHO, this should be in a forked application, because handling these kind of actions on microsoft, apple and every single command line system would be basically impossible, and keeping track of such messages would be a reference nightmare.

I'm not so sure about images, maybe a markup tag similar to HTML, but having the client pull the image from the internet?

miyoyo avatar Jun 18 '16 20:06 miyoyo

Images are something the spec has room for actions are a bit harder due to UI considerations over all the possible implimentations. I don't really see how reply actions can fit in the current spec

Mechazawa avatar Aug 21 '16 16:08 Mechazawa

I am currently working on something along those lines. These are the features so far:

  • If the message link directs to an image, it will be downloaded and shown in a big picture notification.
  • If the message link is a geo uri, the notification will show a Google Maps image as a preview.

It is a work in progress but you can have a look at it on my repo: https://github.com/mttronc/Pushjet-Android/commits/image-notifications

mrtnmtth avatar Feb 12 '18 18:02 mrtnmtth