Skip to content

Android app: action button with action "http" and method GET produces incorrect error #221

Closed
@cmeis

Description

@cmeis

The Android test app (test build from Discord / https://phil.nopaste.net/T7d7JOvNRH?d=1&f=app-play-debug.apk&a=uVxXKVl4wn) is behaving incorrectly with an action button of type "http" and method set to "GET".
The notification is sent to the app.
When clicking the action button in the notification the request is not sent and an error message is displayed: "unlock door failed: method GET must not have a request body" - but there is no request body defined.

This is an example notification request:

{
    "topic": "transfer",
    "message": "pizza delivery arrived",
    "actions": [
      {
        "action": "http",
        "label": "unlock door",
        "url": "https://my.door.lock/open-sesame",
        "method": "GET",
        "clear": true
      }
    ]
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions