mirror of
https://github.com/zhigang1992/react-native-reanimated.git
synced 2026-04-28 12:25:11 +08:00
This PR adds new "round" and "color" nodes. Color nodes can be used to map to color props in view (e.g. backgroundColor) Round is required for the color math to function properly (each color component needs to be an integer). Added demo app where you can pan view around that changes color depending on the position on HSV palette.
README
If you want to publish the lib as a maven dependency, follow these steps before publishing a new version to npm:
- Be sure to have the Android SDK and NDK installed
- Be sure to have a
local.propertiesfile in this folder that points to the Android SDK and NDK
ndk.dir=/Users/{username}/Library/Android/sdk/ndk-bundle
sdk.dir=/Users/{username}/Library/Android/sdk
- Delete the
mavenfolder - Run
sudo ./gradlew installArchives - Verify that latest set of generated files is in the maven folder with the correct version number