android icon indicating copy to clipboard operation
android copied to clipboard

Start intent on notification click

Open niwla23 opened this issue 4 years ago • 1 comments

It would be cool if you could specify an intent to launch when user clicks on the notification. My usecase is for matrix-gotify. I want to get push notifications via gotify and when I click on them Fluffychat should open the chat.

niwla23 avatar Feb 04 '21 15:02 niwla23

We already have "open an url" on click, the open intend on click could be implemented like this

https://github.com/gotify/android/blob/107810dcb7da5f63a6b30b47b5e8dc608a461c8f/app/src/main/java/com/github/gotify/service/WebSocketService.java#L278-L286

jmattheis avatar Feb 04 '21 16:02 jmattheis

Closing as not needed as there aren't many upvotes or comments from other users.

jmattheis avatar Feb 02 '23 14:02 jmattheis