Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[android][ios] Upgrade lottie-react-native to 5.1.4 #19433

Merged
merged 6 commits into from Oct 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -19,6 +19,7 @@ Package-specific changes not released in any SDK will be added here just before
- Updated `@shopify/react-native-skia` from `0.1.136` to `0.1.153`. ([#19360](https://github.com/expo/expo/pull/19360) by [@kudo](https://github.com/kudo))
- Updated `@react-native-community/datetimepicker` from `6.2.0` to `6.5.0`. ([#19419](https://github.com/expo/expo/pull/19419) by [@byCedric](https://github.com/byCedric))
- Updated `react-native-maps` from `0.31.1` to `1.3.2`. ([#19414](https://github.com/expo/expo/pull/19414) by [@aleqsio](https://github.com/aleqsio))
- Updated `lottie-react-native` from `5.1.3` to `5.1.4`. ([#19433](https://github.com/expo/expo/pull/19433) by [@kudo](https://github.com/kudo))

### 🛠 Breaking changes

Expand Down
2 changes: 1 addition & 1 deletion apps/native-component-list/package.json
Expand Up @@ -136,7 +136,7 @@
"gl-mat4": "^1.1.4",
"hsv2rgb": "^1.1.0",
"i18n-js": "^3.1.0",
"lottie-react-native": "5.1.3",
"lottie-react-native": "5.1.4",
"moment": "^2.29.4",
"path": "^0.12.7",
"pixi.js": "^4.6.1",
Expand Down
2 changes: 1 addition & 1 deletion ios/ExpoKit.podspec
Expand Up @@ -39,7 +39,7 @@ Pod::Spec.new do |s|
ss.dependency 'CocoaLumberjack', '~> 3.5.3'
ss.dependency 'GoogleMaps', '~> 3.3'
ss.dependency 'Google-Maps-iOS-Utils', '~> 2.1.0'
ss.dependency 'lottie-ios', '~> 3.2.3'
ss.dependency 'lottie-ios', '~> 3.4.0'
Kudo marked this conversation as resolved.
Show resolved Hide resolved
ss.dependency 'JKBigInteger', '0.0.6'
ss.dependency 'MBProgressHUD', '~> 1.2.0'
ss.dependency 'React-Core' # explicit dependency required for CocoaPods >= 1.5.0
Expand Down
18 changes: 9 additions & 9 deletions ios/Podfile.lock
Expand Up @@ -290,7 +290,7 @@ PODS:
- RCT-Folly (= 2021.07.22.00)
- ABI45_0_0lottie-react-native (5.0.1):
- ABI45_0_0React-Core
- lottie-ios (~> 3.2.3)
- lottie-ios (~> 3.4.0)
- ABI45_0_0RCTRequired (0.68.1)
- ABI45_0_0RCTTypeSafety (0.68.1):
- ABI45_0_0FBLazyVector (= 0.68.1)
Expand Down Expand Up @@ -894,7 +894,7 @@ PODS:
- RCT-Folly (= 2021.07.22.00)
- ABI46_0_0lottie-react-native (5.1.3):
- ABI46_0_0React-Core
- lottie-ios (~> 3.2.3)
- lottie-ios (~> 3.4.0)
- ABI46_0_0RCTRequired (0.69.1)
- ABI46_0_0RCTTypeSafety (0.69.1):
- ABI46_0_0FBLazyVector (= 0.69.1)
Expand Down Expand Up @@ -1643,9 +1643,9 @@ PODS:
- hermes-engine (0.70.2)
- JKBigInteger (0.0.6)
- libevent (2.1.12)
- lottie-ios (3.2.3)
- lottie-react-native (5.1.3):
- lottie-ios (~> 3.2.3)
- lottie-ios (3.4.3)
- lottie-react-native (5.1.4):
- lottie-ios (~> 3.4.0)
- React-Core
- MBProgressHUD (1.2.0)
- MLImage (1.0.0-beta2)
Expand Down Expand Up @@ -3220,7 +3220,7 @@ SPEC CHECKSUMS:
ABI45_0_0EXVideoThumbnails: 1aacddc814fe2bbe75a9d79f17176adf19af3b2f
ABI45_0_0FBLazyVector: 216e3860069291021cac6ac3931431176991b556
ABI45_0_0FBReactNativeSpec: 3813ddb47ab86a9b05a4af616baa9d31b798c556
ABI45_0_0lottie-react-native: aeaf279254fcbf601575da224ec564e37922f7ab
ABI45_0_0lottie-react-native: 4d4ab29ef025ed06f808dbcfa4952ab1de8bc501
ABI45_0_0RCTRequired: aab546376db07604bb5db7e812b29ac3f05e83b3
ABI45_0_0RCTTypeSafety: 8cbd8930c10a4269ecea6c1a8662744e13f9fe8e
ABI45_0_0React: 82d1d34ab3ad12d26887e236e02896bece8e89e7
Expand Down Expand Up @@ -3323,7 +3323,7 @@ SPEC CHECKSUMS:
ABI46_0_0EXVideoThumbnails: 4fc2a132668c006c73112fa955f9da702f476328
ABI46_0_0FBLazyVector: 0ce5b1a14996f1a7ba2b18761d61bac0550a1a70
ABI46_0_0FBReactNativeSpec: f7f147e37e2d8d2c9c1f6353f90b3dfd267601c3
ABI46_0_0lottie-react-native: 10361ebb7ccb3debc74cf826ab330764b01c9fc2
ABI46_0_0lottie-react-native: adca905870cb918b5e50095dedc403d9e60fde0f
ABI46_0_0RCTRequired: 736812a646562cd807a16ff2abdab8395f146f06
ABI46_0_0RCTTypeSafety: bb3ebe870703849d2dcd7631b91186056279fd40
ABI46_0_0React: 73f06af71b9d85e79e538ee432dcca44a6254735
Expand Down Expand Up @@ -3464,8 +3464,8 @@ SPEC CHECKSUMS:
hermes-engine: f9312a2ea8036d03b63568ebf392314f4fa8b474
JKBigInteger: 5c72131974815e969c0782c41e3452f1bbe5619f
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
lottie-ios: c058aeafa76daa4cf64d773554bccc8385d0150e
lottie-react-native: a501112fa980529ccb80b9f3ee117a7f98c6af3a
lottie-ios: 9ae750cdc7820fecbd3c2f0cfc493038208fcdc4
lottie-react-native: b702fab740cdb952a8e2354713d3beda63ff97b0
MBProgressHUD: 3ee5efcc380f6a79a7cc9b363dd669c5e1ae7406
MLImage: a454f9f8ecfd537783a12f9488f5be1a68820829
MLKitCommon: 3bc17c6f7d25ce3660f030350b46ae7ec9ebca6e
Expand Down
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"ABI45_0_0React-Core": [],
"lottie-ios": [
"~> 3.2.3"
"~> 3.4.0"
]
},
"swift_version": "5.0"
Expand Down
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"ABI46_0_0React-Core": [],
"lottie-ios": [
"~> 3.2.3"
"~> 3.4.0"
]
},
"swift_version": "5.0"
Expand Down
@@ -1,6 +1,6 @@
{
"name": "lottie-react-native",
"version": "5.1.3",
"version": "5.1.4",
"summary": "Lottie component for React Native (iOS and Android)",
"authors": {
"intelligibabble": "leland.m.richardson@gmail.com"
Expand All @@ -10,11 +10,11 @@
"platforms": {
"ios": "11.0",
"osx": "10.10",
"tvos": "9.0"
"tvos": "11.0"
},
"source": {
"git": "https://github.com/react-community/lottie-react-native.git",
"tag": "v5.1.3"
"tag": "v5.1.4"
},
"source_files": "src/ios/**/*.{h,m,swift}",
"requires_arc": true,
Expand All @@ -25,7 +25,7 @@
"dependencies": {
"React-Core": [],
"lottie-ios": [
"~> 3.2.3"
"~> 3.4.0"
]
},
"swift_version": "5.0"
Expand Down
Expand Up @@ -15,7 +15,7 @@ class ContainerView: RCTView {

override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
super.traitCollectionDidChange(previousTraitCollection)
if #available(iOS 13.0, *) {
if #available(iOS 13.0, tvOS 13.0, *) {
if (self.traitCollection.hasDifferentColorAppearance(comparedTo: previousTraitCollection)) {
applyProperties()
print("dark mode changed")
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/bundledNativeModules.json
Expand Up @@ -84,7 +84,7 @@
"expo-updates": "~0.14.6",
"expo-video-thumbnails": "~6.4.0",
"expo-web-browser": "~11.0.0",
"lottie-react-native": "5.1.3",
"lottie-react-native": "5.1.4",
"react": "18.1.0",
"react-dom": "18.0.0",
"react-native": "0.70.2",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -14030,10 +14030,10 @@ loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1, loose-envify@^1.4
dependencies:
js-tokens "^3.0.0 || ^4.0.0"

lottie-react-native@5.1.3:
version "5.1.3"
resolved "https://registry.yarnpkg.com/lottie-react-native/-/lottie-react-native-5.1.3.tgz#6f5d0867bb762cee1dfc0613845d50c73e138ddd"
integrity sha512-Ho+oM+D3if85I2EBn8c17tcg7pc880Sp/DOeNW5aWiNtlCJKX/kmlhoM19NLqjzkHEm96fTkTcTy82ZwYU3Kbg==
lottie-react-native@5.1.4:
version "5.1.4"
resolved "https://registry.yarnpkg.com/lottie-react-native/-/lottie-react-native-5.1.4.tgz#9340a4f63ed115d5f050f1af69e53242e6e63840"
integrity sha512-Lu6mSG92Wck+vXEX6gfj/9ciqqoz0tJQZqgX0SumGvX/oZu4MbKO/oLApyHdy2V9Rb7qvwF9whOtitADxTswPA==
dependencies:
invariant "^2.2.2"
react-native-safe-modules "^1.0.3"
Expand Down