react-native-haptic-feedback
react-native-haptic-feedback copied to clipboard
In Samsung Galaxy phones not work
That's working and confirmed on Nexus/Pixel phones, some Huawei, etc, but isn't working for Samsung Galaxy phones and we should cover this segment.
same here. Maybe we should figure out why for certain brands this doesn't work
Try imapctMedium and above:
const hapticOptions = {
enableVibrateFallback: false,
ignoreAndroidSystemSettings: true,
};
const hapticTriggerType = Platform.select({
ios: 'selection',
android: 'impactMedium'
});
ReactNativeHapticFeedback.trigger(hapticTriggerType, hapticOptions)
Faced with it
@fawazahmed-makeen It works on Galaxy Devices. Thanks.