capacitor-community / capacitor-community/volume-buttons
Long press / press and hold function
Open
enhancement
- Dominant language
- Swift
- Stars
- 16
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
At the moment it is not possible to hold a button. The callback function is called immediately until the release.
**Describe the solution you'd like**
Would it be possible to enable a function to differer between a **one time press** and **a long press / press and hold** and the **release**?
**Additional context**
As an example, I press and hold the volume down button to start some speech recording and when the button is released a speech-to-text function gets startet. A bit like an old school walkie-talkie 😅
Contributor guide
Assessment
This issue has not been assessed yet.