coinjar / react-native-wagmi-charts

A sweet & simple chart library for React Native that will make us feel like We're All Gonna Make It.
MIT License
588 stars 116 forks source link

Render Error: Undefined is not a function #122

Open hazirmagron opened 1 year ago

hazirmagron commented 1 year ago

Trying to get the example working but keep receiving Render Error: Undefined is not a function.

Expo 47.0.12 react-native 0.70.5 react-native-reanimated 2.12.0 react-native-gesture-handler 2.8.0 react-native-haptic-feedback 1.14.0

hazirmagron commented 1 year ago

Is this project abandoned?

Why isn't an issue this serious being adressed?

Any suggestions? @andreialecu @ryanzhou @mxs @andreialecu @sallar

hazirmagron commented 1 year ago

Seems to be a compatibility issue with Expo. Anyone else experienced this on Expo 47 or Expo 48?

colinfran commented 1 year ago

do you have example code or something to look at?

i am not having issues with this framework. using expo sdk 48. its important to note that react-native-wagmi-charts uses some package versions that are not yet compatible with expo. i believe you need to make adjustments to your package.json file so that it will use expo-compatible versions of some of the packages.

if this is the issue you are experiencing, make sure to add this to your package.json

 "react-native-gesture-handler": "~2.9.0",
 "react-native-reanimated": "~2.14.4",
 "react-native-svg": "13.4.0",
 "react-native-wagmi-charts": "^2.3.0"