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

App crashing on release build

Open tara-encora opened this issue 2 years ago • 4 comments

When I am creating a build from fastlane application(ios and android) crashing when I tap on the app icon

  • react-native-draggable-flatlist version:4.0.1
  • Platform: Android and iOS
  • React Native :0.68.2
  • Reanimated version:2.14.0
  • React Native Gesture Handler version:2.9.0

Added 'react-native-reanimated/plugin', in babel file

const presets = ['module:metro-react-native-babel-preset'] const plugins = [ 'react-native-reanimated/plugin', ] module.exports = { presets, plugins, }

getting Export namespace should be first transformed by @babel/plugin-proposal-export-namespace-from. when using Reanimated version:2.9.1

tara-encora avatar Mar 20 '23 13:03 tara-encora

Facing same issue

yksingh12 avatar Mar 20 '23 13:03 yksingh12

Any solution? for same

vtyagiDMINC avatar Mar 20 '23 13:03 vtyagiDMINC

I tried with downgraded version 3.1.2 and It's working fine for me

Shenith avatar Mar 22 '23 04:03 Shenith

you need to put @babel/plugin-proposal-export-namespace-from before react-native-reanimated/plugin in your babel config:

const plugins = [
  // has to be before the reanimated/plugin
  '@babel/plugin-proposal-export-namespace-from',
  // has to be the last plugin in this list...
  'react-native-reanimated/plugin'
];

module.exports = {
  ...rest,
   plugins,
}

rkstar avatar Apr 09 '23 20:04 rkstar