Closed milesmeow closed 5 years ago
I tested the different settings on iOS and only these work for me (iPhone6S iOS 12.1.4):
All settings work on Android
Testing with:
const a = ['selection', 'impactLight', 'impactMedium', 'impactHeavy', 'notificationSuccess', 'notificationWarning', 'notificationError'] const rnd_vibration = a[Math.floor(Math.random()*6)] console.log('vibrate: ', rnd_vibration) ReactNativeHapticFeedback.trigger(rnd_vibration, true)
iPhone 6s is using a weaker taptic engine which doesn't support all the different types. See implementation and description in #26
Due to the intended behaviour, i will close the issue.
I tested the different settings on iOS and only these work for me (iPhone6S iOS 12.1.4):
All settings work on Android
Testing with: