Skip to content

Upgrade lottie-react-native to the latest version #93615

@mountiny

Description

@mountiny

Problem

The app was pinned to lottie-react-native 6.5.1 with four custom patches (bridgeless, RN 77/80/83 support) to keep Lottie working on newer React Native versions. Those patches added maintenance overhead and blocked a clean upgrade path as React Native continued to evolve.

Solution

Upgraded lottie-react-native from 6.5.1 to 7.3.8, which natively supports the latest React Native version. Removed the four upstream patches that are now included in the library; only the recycling patch remains (renamed for 7.3.8). Added @lottiefiles/dotlottie-react for web and configured its WASM binary to load from the Expensify CDN to avoid CSP blocks.

PR

#69597

Issue OwnerCurrent Issue Owner: @war-in

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions