Search docs/
Getting StartedPlugins

Device Feedback

Plugin that lets you provide haptic or acoustic feedback on Android devices.

https://github.com/VVelda/device-feedback

Premier Version Available

Featuring regular release cycles, security and bug fixes, and guaranteed SLAs.

Available here

Installation

ionic cordova plugin add cordova-plugin-velda-devicefeedbacknpm install @ionic-native/device-feedbacknpm install cordova-plugin-velda-devicefeedbacknpm install @ionic-native/device-feedbackionic cap sync
Ionic Enterprise comes with fully supported and maintained plugins from the Ionic Team. Learn More or if you're interested in an enterprise version of this plugin Contact Us

Supported Platforms

  • Android

Usage

React

See here.

Angular

import { DeviceFeedback } from '@ionic-native/device-feedback/ngx';

constructor(private deviceFeedback: DeviceFeedback) { }

...


this.deviceFeedback.acoustic();

this.deviceFeedback.haptic(0);

this.deviceFeedback.isFeedbackEnabled().then(feedback => {
    console.log(feedback);
    // {
    //   acoustic: true,
    //   haptic: true
    // }
  });
欧美牲交a欧美牲交aⅴ免费真_欧美日韩亚洲第一区在线_欧美日韩无线码免费