termux / termux-api-package

Termux package containing scripts to call functionality in Termux:API.
MIT License
1.02k stars 318 forks source link

Remove other app specific notification #107

Open iagows opened 4 years ago

iagows commented 4 years ago

Description

It would be nice if we had a command to remove a specific app notification. Something like `termux-notification-remove -key 1234

Why

I want to consume notifications from other apps, send to my computer if I find a specific word in the message and remove the notification so I don't have to read them again.

Example: Someone sends a message with "asap". I want to get this message, send to my pc and remove the notification.

Background information

Termux already have termux-notification-remove, but only works for termux notifications. Also, there is termux-notification-list, so the permission is already there. I don't know of other open-source apps with this feature, but I know that this is possible in this Stackoverflow link and in this

Android developpers

iagows commented 4 years ago

I changed the description because I found some info about the updated android api

0Karakurt0 commented 2 years ago

I would love to see a bit more control over notifications in general. I had an idea to connect phone's player to laptop MPIS controls over ssh, but found neither access to player, neither a way to extract all the needed information from player notification :/

agnostic-apollo commented 2 years ago

I would love to see a bit more control over notifications in general.

Check AutoNotification plugin for the Tasker app.

iagows commented 2 years ago

I have found an app that does some synchronisation: https://github.com/rootkiwi/an2linuxclient