Force feedback ionic when clicking


#1

It is possible to get a force feedback when clicking on a button which could vibrate the phone slightly or create a noise ?


#2

I’ve had good results with using push notifications to achieve similar behavior, as I needed to wait for an API call to verify that the button click did what the user intended (such as submitting a payment).

However, if you don’t need to go to a server, a better approach would be to integrate the local notification plugin: https://ionicframework.com/docs/native/local-notifications/


#3

Hi

Native plugin vibration

Regards

Tom


#4

I guess you mean: https://ionicframework.com/docs/native/vibration/

Does this plugin support sound too? I don’t see that support on the plugin doc.


#5

Well, thr buzzing does make a sound, but not likely the one you would expect from a notification

So your suggestion may do both (providing the user has allowed for notifcations).

There is this native audio plugin too as you know.

Regards

Tom