Vibration in React

How to activatee vibration in React

Add Comment
1 Answer(s)

Note for Android: add <uses-permission android:name=”android.permission.VIBRATE”/> to AndroidManifest.xml

The vibration duration in iOS is not configurable, so there are some differences with Android.

refer: https://facebook.github.io/react-native/docs/vibration

Answered on June 24, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.