0

I installed react-native-gesture-handler in React Native Expo app. And when I start app, it occurs many warnings. enter image description here

I tried to uninstall the react-native-gesture-handler package and install it using expo install, yarn add and npm install. But it doesn't solve this problem. Please let me know the solution if someone knows it.

vinhtranchau
  • 565
  • 2
  • 13

1 Answers1

1

I solved this problem by adding import 'react-native-gesture-handler'; in App.js after installing react-native-gesture-handler package using yarn or npm.

vinhtranchau
  • 565
  • 2
  • 13
  • It did'nt work for me using yarn. I think the best way is to use expo install but it does have a warning in the browser – felix Jan 28 '22 at 12:24