Commit Graph
16 Commits
Author SHA1 Message Date
osdnk 7e21b142fe Fix PR issues 2018-06-18 23:24:51 +02:00
osdnk 8995ed0b0d Add zero 2018-06-08 15:04:41 +02:00
osdnk 7ac7788e67 Fix merge issue 2018-06-08 15:01:40 +02:00
osdnk 501446e9eb Merge branch 'master' into animation-start-api 2018-06-08 14:43:32 +02:00
Krzysztof Magiera 6cf7234389 Handle empty nodes and convertable types to match iOS impl behavior (#24)
I found that Android reanimated code that runs on iOS would often crash because of nodes being used and not registered. This seems to be a quite frequent usecase that some nodes are created and used e.g. in "set" statement but because of the way views are configured they may not be attached to the view hierarchy and hence missing from native registry. 
Obj-c handles that case gracefully as all methods can be called on nullable objects. This is not the case in Java, and this PR attempts to mitigate that issue.
2018-06-08 14:24:09 +02:00
Krzysztof Magiera 46eac7a492 Fix issue with transform config being shared between all nodes (#25) 2018-06-08 09:45:54 +02:00
osdnk 4f2f0b89db Remane again 2018-06-05 14:43:31 +02:00
osdnk 55b7fa180c Dummy -> AlwaysEvaluative 2018-06-05 11:27:48 +02:00
osdnk 6cce8eac55 Style issue 2018-06-05 11:06:23 +02:00
osdnk c1a5a78d80 Change queue to stack 2018-06-05 11:04:16 +02:00
osdnk aae83dba4d Make it topological on Android 2018-06-04 23:55:53 +02:00
osdnk a8b565b1fd Add start api on iOS and struggle to do it on Android 🙌 2018-06-01 18:48:52 +02:00
Krzysztof Magiera 6b19cde018 Add round and color nodes (#15)
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.
2018-06-01 13:51:27 +02:00
Krzysztof Magiera 351640da67 Support JS property updates on Android 2018-04-27 12:31:19 +02:00
Krzysztof Magiera 97e8ddbc94 Use updateContext on iOS and implement updating non-native props 2018-04-25 16:55:34 +02:00
Krzysztof Magiera cb0a2680a8 Initial commit. 2018-04-25 11:22:32 +02:00