-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
termux-notification actions don't work #653
Comments
termux-wake-lock |
... Notifications itself works (shows). Click actions works. Button actions DO NOT |
I think this is actually the same issue as in #677 Because after this line: termux-notification --action "termux-dialog" -t Suspicious -c NotReally This line now works: termux-notification -i sshd -c '...' --priority max --ongoing --button1 'Stop' --button1-action 'termux-notification-remove sshd' But incurrectly: Button1 works, but runs Closing this issue in favor of #677 |
Have you done any research where the problem is? |
No, I'm not. But problem gone after downgrading to latest release |
When downgraded, SAF scripts aren't working. Source code is same, does that mean build process/gradle scripts/ext. Libs affecting the App or something interesting happening in the code, I wonder. |
I don't understand what do you mean by "source code is same". SAF was implemented literally way later than latest release happened. So latest release is actually really old version |
Yeah, these changes are not released. If you want SAF, please use Git build of Termux:API. See changes since the latest release: v0.50.1...master Scripts are not standalone. If feature missing in Termux:API app, these scripts won't work. |
Problem description
Instead of executing termux-notification button's action, wakelock is stopped and no action really executed
Steps to reproduce
and press 'Stop' button on notification
Expected behavior
Wakelock is still here and action actually works
Additional information
The text was updated successfully, but these errors were encountered: