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 Owner
Current Issue Owner: @war-in
Problem
The app was pinned to
lottie-react-native6.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-nativefrom 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 therecyclingpatch remains (renamed for 7.3.8). Added@lottiefiles/dotlottie-reactfor web and configured its WASM binary to load from the Expensify CDN to avoid CSP blocks.PR
#69597
Issue Owner
Current Issue Owner: @war-in