mkuczera / react-native-haptic-feedback

React-Native Haptic Feedback for iOS with Android similar behaviour.
MIT License
861 stars 106 forks source link

Not working on IOS 14.4, RN 0.64 #64

Closed benson7667 closed 2 years ago

benson7667 commented 3 years ago

I follow the guide for installation and the code snippet. I get the error warning as below even I have try with different method:

WARN  RNReactNativeHapticFeedback is not available
const options = {
  enableVibrateFallback: true,
  ignoreAndroidSystemSettings: false,
};

ReactNativeHapticFeedback.trigger('selection', options); // selection | impactLight and etc.....
ivanszhuravlev commented 3 years ago

I follow the guide for installation and the code snippet. I get the error warning as below even I have try with different method:

WARN  RNReactNativeHapticFeedback is not available
const options = {
  enableVibrateFallback: true,
  ignoreAndroidSystemSettings: false,
};

ReactNativeHapticFeedback.trigger('selection', options); // selection | impactLight and etc.....

Hi, cd ios && pod install fixed it for me

ivanszhuravlev commented 3 years ago

But not for everyone, as I can see https://github.com/junina-de/react-native-haptic-feedback/issues/39

fernando-orchata commented 3 years ago

Hi! for me is also not working

I'm using RN 0.64 and testing on iPhone 12 iOS 14.5.1

heberuriegas commented 3 years ago

Same here iOS 14.4.2.

benson7667 commented 3 years ago

hey, if someone can try out the method in the comment? I haven't try that.

https://stackoverflow.com/questions/43760502/enable-haptic-feedback-on-react-native-touchable-view/59925020#59925020

https://github.com/junina-de/react-native-haptic-feedback/issues/40

heberuriegas commented 3 years ago

Sorry! I made a silly mistake, the library is working fine for me even without try out the method in the comment.