Provides access to the system's haptics engine on iOS and vibration effects on Android.
npm install @cutls/expo-haptics
src="../../.github/resources/expo-haptics.svg"
alt="expo-haptics"
height="64" />
Provides access to the system's haptics engine on iOS and vibration effects on Android.
- Documentation for the main branch
- Documentation for the latest stable release
For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.
For bare React Native projects, you must ensure that you have installed and configured the expo package before continuing.
```
npx expo install expo-haptics
Run npx pod-install after installing the npm package.
No additional set up necessary.
This module requires permission to control vibration on the device, it's added automatically.
`xml``
Contributions are very welcome! Please refer to guidelines described in the contributing guide.