I\'m building an iOS react-native app, and I\'m currently using the react-native-swipe-card package to build \"tinder\" like swipe cards for my app. The app works fine however w
As @Peuchele commented, I was getting this same error, and the reason it was happening was because I passed a value into an Animated View that was undefined.
So, to clarify, make sure any values you pass into a component using an Animated.Value
is not undefined.
The specific code I found at fault was:
const { value } = props;
this.state = {
translateYValue: new Animated.Value(value),
};
And props.value
was undefined
.