This plugin allows to suppress longpress gesture in iOS system. Designed for capacitor v6, and support previous versions also. Check readme.md
npm install capacitor-suppress-longpress-gesturelatest 0.0.8 - capacitor v6 support
0.0.7 - capacitor v5 support
0.0.6 - support capacitor v4
0.0.5 - supports capacitor v3
``bash`
npm install capacitor-suppress-longpress-gesture
npx cap sync
Just import it in your 'app' component, and call activateService() method!
``
import { SuppressLongpressGesture } from 'capacitor-suppress-longpress-gesture';
SuppressLongpressGesture.activateService();
* echo(...)
* activateService()
* deactivateService()
`typescript`
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
--------------------
`typescript`
activateService() => Promise
Returns: Promise<string>
--------------------
`typescript``
deactivateService() => Promise
Returns: Promise<string>
--------------------