Closed V0lantis closed 4 years ago
Hi @V0lantis , did you find a solution ?
Did you do pod install
?
I found error by going to ./node_modules/react-native-haptic-feedback/index.js
and changing so that the console.warn
outputs err
Hi @V0lantis , did you find a solution ?
I think it is because I'm using expo cli and no react-native cli. This link explain a little bit why. I should try with a bare rect-native application and not an expo application
Did you do
pod install
?I found error by going to
./node_modules/react-native-haptic-feedback/index.js
and changing so that theconsole.warn
outputserr
No because I'm using expo, but I'll try. Thanks for the reply
@radiosilence @V0lantis I did pod install
without linking I thought it was auto linking 😅. Thanks
If you're using Expo / Managed Workflow then have a look at this: https://docs.expo.io/versions/latest/sdk/haptics/
A little bit offtopic, but what is necessary to allow autolinking in this library? 😎
A little bit offtopic, but what is necessary to allow autolinking in this library? 😎
bang on topic!!
Running $ react-native link react-native-haptic-feedback && cd ios && pod install
resolved the issue for me. The auto-linking doesn't seem to be fully working currently.
I checked the similar issues, but wasn't been able to resolved it mine. Had a RNReactNativeHapticFeedback is not available warning, and no feedback when I clicked on the button. Running on the latest iOS version (13.4), Expo version 2.15.2, and react-native 0.62.
here is my log in my console.
Not have any clue in what to do. Thx very much for your potential help :)