Open andreibahachenka opened 1 year ago
Same Issue
ERROR Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes
it's not the same. I was able to run, but animation itself doesn't work
Can you tell me mw what version of @rainbow-me/animated-charts
and react-native-reanimated
are you using ?
I am using these versions:
"@rainbow-me/animated-charts": "^1.0.0-alpha.6",
"expo": "~49.0.11",
"expo-status-bar": "~1.6.0",
"react": "18.2.0",
"react-native": "0.72.4",
"react-native-reanimated": "^3.5.4"
To fix the chart visualization - change the invocation of useSharedValue
. The second params have to be removed all over the library.
For instance:
- const dataQueue = useSharedValue(valuesStore.current.dataQueue, 'dataQueue');
+ const dataQueue = useSharedValue(valuesStore.current.dataQueue);
@Abirpal202049 , My differences with you:
"expo": "^49.0.0",
"react-native-reanimated": "~3.3.0",
The chart animation stops working after upgrading to expo sdk 49 that includes upgrading reanimated to the 3 version I didn't find any dependencies that can affect this Does anyone have solution?