react-native-draggable-flatlist icon indicating copy to clipboard operation
react-native-draggable-flatlist copied to clipboard

I upgrade the react native version 0.63.0 to 0.71.6, but in draggable flatlist has some incompatible reanimated version (usevalue not found) issue)

Open srinivasansampath13 opened this issue 1 year ago • 9 comments

Screenshot_20230905_195855 Describe the bug I upgrade the react native version 0.63.0 to 0.71.6, but in draggable flatlist has some incompatible reanimated version (usevalue not found) issue. how can i resolved it

Platform & Dependencies Please list any applicable dependencies in addition to those below (react-navigation etc).

  • react-native-draggable-flatlist version: 3.0.4
  • Platform: React Native / Mac OS
  • React Native or Expo version: 0.71.6
  • Reanimated version: 3.0.2
  • React Native Gesture Handler version: 2.9.0

srinivasansampath13 avatar Sep 05 '23 14:09 srinivasansampath13

Same issue here.

arashlabafian avatar Sep 16 '23 19:09 arashlabafian

+1

jianxinzhoutiti avatar Sep 19 '23 06:09 jianxinzhoutiti

@srinivasansampath13 Working fine in both android and IOS simulator with react native project initialised with react native cli.

Platform & Dependencies

  • react-native-draggable-flatlist version: ^4.0.1
  • Platform: React Native / Mac OS (M1 chip Ventura 13.0 (22A380))
  • React version: 18.2.0
  • React Native version: 0.71.7
  • Reanimated version: ^3.1.0
  • React Native Gesture Handler version: ^2.9.0

dineshmsd051 avatar Sep 19 '23 19:09 dineshmsd051

React native new architecture was introduced in v0.68. If you go from version 0.63.0 to 0.71.6, you are switching from the old to the new architecture. I can't be sure this is the root cause of the issue, but it is very likely.

As it says on the React Native new-architecture web page: "If you previously installed a global react-native-cli package, please remove it as it may cause unexpected issues:"

npm uninstall -g react-native-cli @react-native-community/cli

And then follow the guide on https://reactnative.dev/docs/the-new-architecture/use-app-template

perqa avatar Sep 20 '23 06:09 perqa

Same issue.

ArneV94 avatar Sep 27 '23 17:09 ArneV94

Same for me. This package doesn't support Reanimated V3

AnushavanGhulyan-melon avatar Oct 20 '23 14:10 AnushavanGhulyan-melon

This combo works for me in Simulator:

  "react": "18.2.0",
  "react-native": "~0.72",
  "react-native-draggable-flatlist": "^4.0.1",
  "react-native-gesture-handler": "~2.12.0",
  "react-native-reanimated": "~3.3.0",

perqa avatar Oct 20 '23 19:10 perqa

Same for me. This package doesn't support Reanimated V3

Sorry. I was mistaken, my issue was not connected Reanimated V3, For me this was the problem, and with patch, it fixed

AnushavanGhulyan-melon avatar Oct 23 '23 14:10 AnushavanGhulyan-melon

This combo works for me in Simulator:

  "react": "18.2.0",
  "react-native": "~0.72",
  "react-native-draggable-flatlist": "^4.0.1",
  "react-native-gesture-handler": "~2.12.0",
  "react-native-reanimated": "~3.3.0",

Many thanks. This combo works fine not only on an emulator but also a phone (android 9, 13) for me.

MihaMixFromGB avatar Nov 15 '23 10:11 MihaMixFromGB