Commit 73e0acc
authored
Fix synchronous props for
## Summary
This PR fixes the following error on Android that happens when trying to
animate color (e.g. `backgroundColor`) using synchronous props mechanism
(with `ANDROID_SYNCHRONOUSLY_UPDATE_UI_PROPS` Reanimated static feature
flag enabled) and passing an instance of `PlatformColor` which is an
object, not an integer:
<img width="441" height="785" alt="Screenshot 2025-12-02 at 12 13 54"
src="https://github.com/user-attachments/assets/9c3cb97b-705d-4456-999c-f701b40ad32f"
/>
## Test planPlatformColor on Android (#8687)1 parent e03713e commit 73e0acc
File tree
2 files changed
+4
-3
lines changed- docs/docs-reanimated/docs/guides
- packages/react-native-reanimated/Common/cpp/reanimated/NativeModules
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
815 | | - | |
| 815 | + | |
816 | 816 | | |
817 | | - | |
| 817 | + | |
| 818 | + | |
818 | 819 | | |
819 | 820 | | |
820 | 821 | | |
| |||
0 commit comments