0.1.8 • Published 1 year ago

react-native-buzz v0.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-buzz

A React Native module to vibrate device for both IOS and Android.

Installation

npm install react-native-buzz

Android

Add below permission in AndroidMenifest.xml

<uses-permission android:name="android.permission.VIBRATE" />

IOS

run pod install

Usage

import Buzz from 'react-native-buzz';

const vibrate = () =>{
    //To vibrate the device use below
    Buzz.vibrate()
    //To vibrate device at dezired Intensity use below
    Buzz.vibrateAtIntensity(0.5)
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


0.1.8

1 year ago

0.1.7

2 years ago

0.1.2

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago