ionic-team / ionic-team/capacitor-haptics

feat(haptics): implement method to stop vibration

Open
#4 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
5
PR merge metrics
No merged PRs in 30d

Description

## Feature Request

### Plugin
haptics

### Description

It should be possible to to stop (cancel) a vibration at any time.

Example: Ater initiating a vibration via `vibrate(...)` for 5000 ms it should be possible to manually stop it when needed (e.g. after 1000 ms).

### Platform(s)
ios, android

### Preferred Solution
Implement a method like `stopVibration()` to stop the device from vibrating.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.