Manage device Vibrator
Manage device Vibrator
Use this component to vibrate the device
To get started using it, you must use KmpVibration. Below are the functions available.
_3// vibrates the device for 5 seconds_3KmpVibration.startVibrating(5000) _3KmpVibration.stopVibrating()
Android Setup
For android please add this into your manifest:
_1<uses-permission android:name="android.permission.VIBRATE" />