Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Android, Animated, useNativeDriver, and rotateY transforms - Animation not appearing #13522
Want to start of by saying love the React Native project and have used it on a number of apps so far. Great dev experience.
On Android while using the Animated API with useNativeDriver set to true, i.e.
the animation will not appear. Say we rotateY a
Currently in prod on the mobile application I've been experience this issue (code linked below), the Android version of the app has useNativeDriver set to false (with a noticeable decline in performance) while iOS has it set to true and is working beautifully.
Reproduction Steps and Sample Code
You can find the project I've been experience this issue here. The important code to look at starts at line 26 here. This is a small wrapper function for creating
Notice on line 32 of animatedSquare.utilities.js I have
You should be able to git clone the repo linked above
and have it up and running on Android with
Ensure the transform rotateY is working on Android.
Thank you for looking into this. Feel free to hit me if you're having issues reproducing this.
NOTE: If you include
Line 160 here has fixed the issue I've been experiencing.
Closing this issue.