react-native-haptic-feedback icon indicating copy to clipboard operation
react-native-haptic-feedback copied to clipboard

In Samsung Galaxy phones not work

Open dharmrajacharya opened this issue 5 years ago • 4 comments

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.

dharmrajacharya avatar Feb 13 '20 12:02 dharmrajacharya

same here. Maybe we should figure out why for certain brands this doesn't work

panda0603 avatar Apr 07 '20 04:04 panda0603

Try imapctMedium and above:

const hapticOptions = {
  enableVibrateFallback: false,
  ignoreAndroidSystemSettings: true,
};

const hapticTriggerType = Platform.select({
  ios: 'selection',
  android: 'impactMedium'
});

ReactNativeHapticFeedback.trigger(hapticTriggerType, hapticOptions)

fawazahmed-makeen avatar May 18 '20 17:05 fawazahmed-makeen

Faced with it

Bardiamist avatar Jun 04 '20 03:06 Bardiamist

@fawazahmed-makeen It works on Galaxy Devices. Thanks.

SebinLee avatar Aug 28 '21 07:08 SebinLee