Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(Cross): [IOAPPX-206] Add dynamic card effect based on device ro…
…tation (#5715) > [!important] > This PR depends on: > * ~#5954 **(merged and reverted)** > * #6123 ## Short description This PR adds a new card with dynamic light whose movement is based on the rotation of the device. The goal is to make light appear to reflect on the card just as it appears in the real world. The current implementation is based on the value exposed by the `useAnimatedSensor` method provided by the `reanimated` library. ## List of changes proposed in this pull request - Add the new `DSDynamicCardRotation` screen - Add relative assets ### Preview https://github.com/user-attachments/assets/943ee38a-023f-4d77-9f00-06a298cc7de0 ## How to test 1. Launch the app in a physical device (not simulator) 2. Go to the **Dynamic card based on device rotation** page and try to rotate the device --------- Co-authored-by: LazyAfternoons <[email protected]> Co-authored-by: Cristiano Tofani <[email protected]> Co-authored-by: Alice Di Rico <[email protected]> Co-authored-by: Fabio Bombardi <[email protected]> Co-authored-by: Mario Perrotta <[email protected]> Co-authored-by: LazyAfternoons <[email protected]> Co-authored-by: Andrea Piai <[email protected]> Co-authored-by: Federico Mastrini <[email protected]>
- Loading branch information