MM-19286 Disable Haptic Feedback (#3402)

* MM-19286 Disable Haptic Feedback

Added a check for iOS version <=9 and for iPhones 5/6/SE versions that don't support haptic feedback.

* MM-19286 Fixed the Fix

Misread the repo for the haptic feedback so fixing the fix.

* MM-19286 Removed line in device.js

Removed line in device.js
This commit is contained in:
CJ 2019-10-15 03:32:10 -04:00 committed by Elias Nahum
parent 854f3082c6
commit ca75e2407b

View file

@ -52,7 +52,7 @@ export function emptyFunction() { // eslint-disable-line no-empty-function
export function hapticFeedback(method = 'impactLight') {
ReactNativeHapticFeedback.trigger(method, {
enableVibrateFallback: true,
enableVibrateFallback: false,
ignoreAndroidSystemSettings: false,
});
}