Skip to content
This repository was archived by the owner on Dec 14, 2025. It is now read-only.
This repository was archived by the owner on Dec 14, 2025. It is now read-only.

How to set time off notification? #9

Description

@Ulrick124

The notification pup-up and do not disappear. I want to set time the notification appear and disappear. I try to set timer: "10000" to visible notification in 10s. But the config.js file was not has affected.
Here the code:

longPress: {
title: "Power off",
message: "Keep pressed for 3 seconds to shut down",
imageFA: "power-off",
notification: "REMOTE_ACTION",
payload: {action: "REBOOT"},
timer: "10000",
},

PLease tell me how to set that time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions