I’ve been trying to utilise the Vibration library to give user feedback on certain touches.
Vibration.vibrate(500) (with import { Vibration } from ‘react-native’)
and
Haptic.selection() (with import { Haptic } from ‘expo’)
both are working during development however in a standalone application (from expo build:android) the app crashes. I’ve tried adding “VIBRATION” to the android permissions but this doesn’t seem to resolve the issue.
Has anyone successfully used the Vibration API before or have any ideas?
Thanks in advance!