Skip to content

Is it possible to actively revoke already sent notifications from the server? #782

Open
@skafau

Description

@skafau

Have you read the documentation?

  • Yes, but it does not include related information regarding my question.
  • Yes, but the steps described in the documentation do not work on my machine.
  • Yes, but I am having difficulty understanding it and want clarification.

You are setting up gotify in

  • Docker
  • Linux native platform
  • Windows native platform

Question

I need my server to be able to actively revoke already sent notifications from all clients. By revoke I mean that the already shown notification should be hidden automatically w/o any user interaction.

Is this possible?

I did not find any information on this in the docs, so I guess it is not possible but I wanted to be sure.

My use case

I have a personal reminder app to which multiple clients are subscribed to (e.g. desktop pc & mobile). When interacting with the notification on 1 client, it should be removed/revoked on all other clients. E.g. when clicking on the notification on a desktop pc, it should be automatically removed on my mobile and vice versa.

Also:

  • The notifications shall be revokable from my server w/o any direct user interaction with any notification.
    E.g.: The notification has been sent to all clients. I don't click on any of the notifications but open the reminder directly within my web app -> All notifications shall be revoked.
  • If a client is offline whilst the notification is being sent and the notification is revoked before it comes online, the notification shall never appear on the client.

Some more context:

ATM I'm using web push in combination with a PWA. This works technically and allowed me to implement all the features I need (revokability etc.). However, notifications on Android are very unreliable. Some appear an hour after they have been sent by the server, some don't ever appear at all. I'm therefore looking for alternative ways to notify my clients.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions