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

Nested list example not working

Open Sabrinovsky opened this issue 1 year ago • 4 comments

Describe the bug The nested example from the readme is not working: https://snack.expo.dev/@computerjazz/draggable-flatlist-examples

To Reproduce Access the link example. Not working on android physical and emulator.

Sabrinovsky avatar Apr 01 '24 18:04 Sabrinovsky

Upvote - tried the snack today and it simply crashes in expo go

downright-development avatar May 02 '24 21:05 downright-development

Yep, not working! Upgraded all the packages and crashes on device.

alexfoxy avatar Jul 23 '24 14:07 alexfoxy

it is most likely that the snack example is using expo > 48 on the website and the example is using expo 48, which can cause this. you will have to set expo version to 48 to be able to run it.

as for mobile, expo snack needs to be a certain version (max supported expo go app version 2.28.7) to be able to run expo 48 code, for which you can go to Expo Go

arpitv96171 avatar Sep 05 '24 07:09 arpitv96171

you can very well test it out on simulators by following below steps:

  1. Delete yarn.lock and node_modules
  2. Run yarn within Example folder
  3. Run npx expo install --fix within Example folder
  4. Wrap root app in <GestureHandlerRootView style={{ flex: 1 }}></GestureHandlerRootView> in the file Example/App.tsx
  5. Change makeUrl to createUrl in Example/navigation/LinkingConfiguration.ts
  6. Run yarn ios

arpitv96171 avatar Sep 05 '24 07:09 arpitv96171