Skip to content
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

Android app: parameter "clear" for action button doesn't work with action "view" #220

Closed
cmeis opened this issue Apr 23, 2022 · 1 comment
Labels
android-app ntfy Android app 🪲 bug Something isn't working

Comments

@cmeis
Copy link
Contributor

cmeis commented Apr 23, 2022

Android app (test build from Discord / https://phil.nopaste.net/T7d7JOvNRH?d=1&f=app-play-debug.apk&a=uVxXKVl4wn) is not behaving correctly with "view" action and the "clear" parameter set to true.
In this case my app clears the notification, but does NOT execute the "view" action.

Example request:

{
    "topic": "transfer",
    "message": "I got a new pickup point",
    "actions": [
      {
        "action": "view",
        "label": "meet me here",
        "url": "geo:47.421087468386155, 10.985437463216053",
        "clear": true
      }
    ]
  }

If the "clear" parameter is set to false (or not set at all, as false is the default), the action is executed.

@binwiederhier binwiederhier added 🪲 bug Something isn't working android-app ntfy Android app labels Apr 23, 2022
@binwiederhier
Copy link
Owner

Fixed in binwiederhier/ntfy-android@e425521

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android-app ntfy Android app 🪲 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants