This plugin allows to suppress longpress gesture in iOS system. Designed for capacitor v5 (Thanks to @mariusbolik)
latest 0.0.8 - capacitor v6 support 0.0.7 - capacitor v5 support 0.0.6 - support capacitor v4 0.0.5 - supports capacitor v3
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(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options |
{ value: string; } |
Returns: Promise<{ value: string; }>
activateService() => Promise<string>
Returns: Promise<string>
deactivateService() => Promise<string>
Returns: Promise<string>