Closed harleenarora closed 2 years ago
Hi @harleenarora Can you please add a full error, maybe the error screenshot. When are you getting this error? Are you using any specific component that triggers that?
Hi @ethanshar I got error under the toast component react-native:: 0.66.0 react-native-ui-lib:: 6.1.2 react-native-reanimated:: 2.3.0-alpha.2
Hi @harleenarora I create a small project with the same dependencies and It's working fine. I render a small screen with rnuilib's View, Text & Toast component and everything works.
Did you follow installation guide for reanimated? (Specifically for Android) https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation#android
Did you remember to include the line in the plugins section of your babel.config.js
, and ensure its the last plugin in the array e.g.:
module.exports = {
presets: [
'babel-preset-expo',
],
sourceMaps: true,
plugins: [
// ... your other plugins
// NOTE: REANIMATED HAS TO BE LAST
'react-native-reanimated/plugin',
],
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
After update new version I git the error
react-native:: 0.66.0 react-native-ui-lib:: 6.1.2