InterpolateColor fails on Android
See original GitHub issue const v = useSharedValue(0);
const animatedStyle = useAnimatedStyle(() => ({
backgroundColor: interpolateColor(v.value, [-1, 0, 1], ['red', 'blue', 'green']),
}));
fails with the following on Android:
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:11 (6 by maintainers)
Top Results From Across the Web
interpolateColor on android is not working - Bountysource
Description. I find a case where it seems like interpolateColor is not working on android.
Read more >3 - Stack Overflow
How to resolve unique error when running React Native app? 1 · I am getting this error while opening my react-native app ....
Read more >Interpolate Colors like a pro with React Native ... - YouTube
In this tutorial we'll learn the concept behind the interpolateColor function from React Native Reanimated. To improve the learning ...
Read more >Reanimated 2 - the new approach to creating animations in ...
yarn ios // or yarn android ... our Javascript callback, Reanimated 2 will inform us about that fact by displaying an appropriate error....
Read more >interpolateColors | React Native Reanimated
interpolateColors (node, { // Input range for the interpolation. Should be monotonically increasing. inputRange: [nodeOrValue, ...],
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

wow @wcandillon can you help me out with the reanimated@alpha installation on 64.0-rc i tried and follow the installation steps on https://docs.swmansion.com/react-native-reanimated/docs/installation but android build fails with output:
Im wondering if you have followed the exact same steps from the installation page or you did some extra.
Please i will appreciate if you can give me some Abracadabra tips.
Closing as duplicate.