Adding vibration


Im using a plain expo project. Vibration.vibrate() doesn’t seem to work. How can i enable it? do i need to request system permissions or import it? Thanks


got it :
import { Vibration } from ‘react-native’;


Just going to add that v27 should have Haptic as well <33

import {Haptic} from 'expo';

Which will give you access to the Taptic engine on iOS :open_mouth:

closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.