Skip to content

chore: [IOPLT-1540] Update reanimated to 4.x#7836

Open
dmnplb wants to merge 28 commits intomasterfrom
IOPLT-1540-migrate-to-reanimated-v4
Open

chore: [IOPLT-1540] Update reanimated to 4.x#7836
dmnplb wants to merge 28 commits intomasterfrom
IOPLT-1540-migrate-to-reanimated-v4

Conversation

@dmnplb
Copy link
Contributor

@dmnplb dmnplb commented Feb 4, 2026

Short description

Migrate to the new reanimated major version with the least effort possible (for now)

List of changes proposed in this pull request

  • Update reanimated to the latest 4.x version available
    • Apply a temporary patch to reanimated to avoid generating random nativeID attributes in the jest snapshots
  • Update jestSetup with a cleaner approach by using recommended setUpTests method. The main consequence is that a lot of snapshots have been updated.
  • Replace runOnJs with analogue method offered by react-native-worklets
  • Update TestAuthenticationScreen test to avoid failing tests
  • Remove local Dismissable in favor of the one exposed by the DS library
  • Update react-native-skia to ensure it is up to date
  • Update io-app-design-system to the 6.x pre-release version to avoid version mismatches
  • Refactor the following components:
    • ListItemSwipeAction
    • DSDynamicCardRotation
    • ItwCredentialTrustmark

Note

We need to keep the patch until reanimated v.4.2.2 is released

How to test

Ensure that each section of the app is tested accurately, but focus on the following:

  • Swipe-to-delete (ListItemSwipeAction)
  • Scroll animations on wallet screens
  • IT Wallet discovery screen scroll animation
  • Card flip gesture in IT Wallet

Warning

If you experience poor performance on your Android device, please refer to the description of the PR linked above

@dmnplb dmnplb self-assigned this Feb 4, 2026
@dmnplb dmnplb added dependencies Design System New visual language and reduction of previous UI clutter labels Feb 4, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

PR Title Validation for conventional commit type

All good! PR title follows the conventional commit type.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

Jira Pull Request Link

This Pull Request refers to Jira issues:

@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

❌ Patch coverage is 51.31579% with 37 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.50%. Comparing base (f451f69) to head (7d508ff).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...tures/design-system/core/DSDynamicCardRotation.tsx 0.00% 18 Missing ⚠️
ts/components/ListItemSwipeAction.tsx 67.92% 17 Missing ⚠️
...tures/design-system/core/DSItwBrandExploration.tsx 0.00% 1 Missing ⚠️
...ponents/ItwSkeumorphicCard/FlipGestureDetector.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7836      +/-   ##
==========================================
+ Coverage   60.48%   60.50%   +0.01%     
==========================================
  Files        1948     1947       -1     
  Lines       42996    42995       -1     
  Branches     9868     9862       -6     
==========================================
+ Hits        26008    26014       +6     
+ Misses      16909    16903       -6     
+ Partials       79       78       -1     
Files with missing lines Coverage Δ
.../components/ui/utils/hooks/useSineWaveAnimation.ts 7.69% <ø> (ø)
...tures/common/components/cie/CieCardReadContent.tsx 80.85% <100.00%> (-0.40%) ⬇️
...discovery/components/ItwDiscoveryInfoComponent.tsx 71.42% <100.00%> (ø)
...et/trustmark/components/ItwCredentialTrustmark.tsx 16.12% <ø> (+0.97%) ⬆️
...es/payments/receipts/screens/ReceiptListScreen.tsx 81.81% <ø> (ø)
ts/screens/modal/UpdateAppModal.tsx 76.92% <ø> (ø)
...tures/design-system/core/DSItwBrandExploration.tsx 35.29% <0.00%> (ø)
...ponents/ItwSkeumorphicCard/FlipGestureDetector.tsx 28.57% <0.00%> (ø)
ts/components/ListItemSwipeAction.tsx 70.66% <67.92%> (+4.00%) ⬆️
...tures/design-system/core/DSDynamicCardRotation.tsx 17.24% <0.00%> (-0.62%) ⬇️

... and 5 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4305a79...7d508ff. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@mastro993 mastro993 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Design System New visual language and reduction of previous UI clutter dont-merge ✋

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants