Device Feedback
Plugin that lets you provide haptic or acoustic feedback on Android devices.
Premier Version Available

Featuring regular release cycles, security and bug fixes, and guaranteed SLAs.
インストール
Ionic Native Enterprise はIonic Teamが完全にサポートしメンテナンスしているプラグインを利用できます。 詳しくみる か、 エンタープライズプラグインに興味があれば 連絡ください
サポートしているプラットフォーム
- Android
利用方法
React
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
// }
});