Skip to content

Commit 726c554

Browse files
committed
fix: all remnants of reanimated errors
1 parent 0d21fbb commit 726c554

File tree

6 files changed

+24
-39
lines changed

6 files changed

+24
-39
lines changed

examples/SampleApp/ios/Podfile.lock

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,27 +1439,6 @@ PODS:
14391439
- ReactCommon/turbomodule/bridging
14401440
- ReactCommon/turbomodule/core
14411441
- Yoga
1442-
- react-native-cameraroll (7.8.1):
1443-
- DoubleConversion
1444-
- glog
1445-
- hermes-engine
1446-
- RCT-Folly (= 2024.01.01.00)
1447-
- RCTRequired
1448-
- RCTTypeSafety
1449-
- React-Core
1450-
- React-debug
1451-
- React-Fabric
1452-
- React-featureflags
1453-
- React-graphics
1454-
- React-ImageManager
1455-
- React-NativeModulesApple
1456-
- React-RCTFabric
1457-
- React-rendererdebug
1458-
- React-utils
1459-
- ReactCodegen
1460-
- ReactCommon/turbomodule/bridging
1461-
- ReactCommon/turbomodule/core
1462-
- Yoga
14631442
- react-native-document-picker (9.3.1):
14641443
- DoubleConversion
14651444
- glog
@@ -2254,7 +2233,6 @@ DEPENDENCIES:
22542233
- React-Mapbuffer (from `../node_modules/react-native/ReactCommon`)
22552234
- React-microtasksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`)
22562235
- react-native-blob-util (from `../node_modules/react-native-blob-util`)
2257-
- "react-native-cameraroll (from `../node_modules/@react-native-camera-roll/camera-roll`)"
22582236
- react-native-document-picker (from `../node_modules/react-native-document-picker`)
22592237
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
22602238
- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"
@@ -2403,8 +2381,6 @@ EXTERNAL SOURCES:
24032381
:path: "../node_modules/react-native/ReactCommon/react/nativemodule/microtasks"
24042382
react-native-blob-util:
24052383
:path: "../node_modules/react-native-blob-util"
2406-
react-native-cameraroll:
2407-
:path: "../node_modules/@react-native-camera-roll/camera-roll"
24082384
react-native-document-picker:
24092385
:path: "../node_modules/react-native-document-picker"
24102386
react-native-image-picker:
@@ -2555,7 +2531,6 @@ SPEC CHECKSUMS:
25552531
React-Mapbuffer: 858e7be7b51da78fd6a12b2461d92ea44e88c0f2
25562532
React-microtasksnativemodule: a221789bbd16b09f083a60a4bec8623e2dfbb59f
25572533
react-native-blob-util: 356047c561b3506396852bc0d7988243f74dd77d
2558-
react-native-cameraroll: 1f91168f2e07c0cd971e181dbf86ee40dd685ac3
25592534
react-native-document-picker: 1e082836a633ca9e7c75758036ff42535baaf36b
25602535
react-native-image-picker: df6597d4b1878a443796be11eb2b7286ed10ece6
25612536
react-native-netinfo: 076df4f9b07f6670acf4ce9a75aac8d34c2e2ccc
@@ -2608,4 +2583,4 @@ SPEC CHECKSUMS:
26082583

26092584
PODFILE CHECKSUM: 4f662370295f8f9cee909f1a4c59a614999a209d
26102585

2611-
COCOAPODS: 1.15.2
2586+
COCOAPODS: 1.14.3

examples/SampleApp/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"@notifee/react-native": "^9.1.2",
2626
"@op-engineering/op-sqlite": "^9.3.0",
2727
"@react-native-async-storage/async-storage": "^1.21.0",
28-
"@react-native-camera-roll/camera-roll": "^7.8.0",
2928
"@react-native-community/netinfo": "^11.3.2",
3029
"@react-native-firebase/app": "^19.3.0",
3130
"@react-native-firebase/messaging": "^19.3.0",

examples/SampleApp/yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1882,11 +1882,6 @@
18821882
dependencies:
18831883
merge-options "^3.0.4"
18841884

1885-
"@react-native-camera-roll/camera-roll@^7.8.0":
1886-
version "7.8.1"
1887-
resolved "https://registry.yarnpkg.com/@react-native-camera-roll/camera-roll/-/camera-roll-7.8.1.tgz#3b37d498672f692d04daf8e56fa094cefdeadc30"
1888-
integrity sha512-voVmDlzBS1MVADFk/Vb9GzWzhpoF4ESSjU9qwDNxf/ZA9tirAzX/M0TKcz2V+iFHeRR68cHtZ9tHUhQVG7kJcA==
1889-
18901885
"@react-native-community/[email protected]":
18911886
version "15.0.0"
18921887
resolved "https://registry.yarnpkg.com/@react-native-community/cli-clean/-/cli-clean-15.0.0.tgz#10c7cfde8379aaa7a60eaf4bd3920542d4af1b81"

examples/TypeScriptMessaging/ios/Podfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2265,14 +2265,14 @@ EXTERNAL SOURCES:
22652265
:path: "../node_modules/react-native/ReactCommon/yoga"
22662266

22672267
SPEC CHECKSUMS:
2268-
boost: 1dca942403ed9342f98334bf4c3621f011aa7946
2269-
DoubleConversion: f16ae600a246532c4020132d54af21d0ddb2a385
2268+
boost: 4cb898d0bf20404aab1850c656dcea009429d6c1
2269+
DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5
22702270
FBLazyVector: 7075bb12898bc3998fd60f4b7ca422496cc2cdf7
2271-
fmt: 10c6e61f4be25dc963c36bd73fc7b1705fe975be
2272-
glog: 08b301085f15bcbb6ff8632a8ebaf239aae04e6a
2271+
fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120
2272+
glog: 69ef571f3de08433d766d614c73a9838a06bf7eb
22732273
hermes-engine: 46f1ffbf0297f4298862068dd4c274d4ac17a1fd
22742274
op-sqlite: 88dd68621bea1e7ea28606f76228a84a23d5ad58
2275-
RCT-Folly: bf5c0376ffe4dd2cf438dcf86db385df9fdce648
2275+
RCT-Folly: 4464f4d875961fce86008d45f4ecf6cef6de0740
22762276
RCTDeprecation: fde92935b3caa6cb65cbff9fbb7d3a9867ffb259
22772277
RCTRequired: 75c6cee42d21c1530a6f204ba32ff57335d19007
22782278
RCTTypeSafety: 7e6fe47bfb693c50d4669db1a480ca5331795f5b
@@ -2349,4 +2349,4 @@ SPEC CHECKSUMS:
23492349

23502350
PODFILE CHECKSUM: 6b7a4b74915b42bfe4ffddaf67cbf5e7a2bfeab3
23512351

2352-
COCOAPODS: 1.16.2
2352+
COCOAPODS: 1.14.3

examples/TypeScriptMessaging/yarn.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,6 +1134,14 @@
11341134
"@gorhom/portal" "1.0.14"
11351135
invariant "^2.2.4"
11361136

1137+
"@gorhom/bottom-sheet@^5.0.6":
1138+
version "5.0.6"
1139+
resolved "https://registry.yarnpkg.com/@gorhom/bottom-sheet/-/bottom-sheet-5.0.6.tgz#f20736502399c7bcf8c73ea09e6b571dc07fe0eb"
1140+
integrity sha512-SI/AhPvgRfnCWN6/+wbE6TXwRE4X8F2fLyE4L/0bRwgE34Zenq585qLT139uEcfCIyovC2swC3ICqQpkmWEcFA==
1141+
dependencies:
1142+
"@gorhom/portal" "1.0.14"
1143+
invariant "^2.2.4"
1144+
11371145
11381146
version "1.0.14"
11391147
resolved "https://registry.yarnpkg.com/@gorhom/portal/-/portal-1.0.14.tgz#1953edb76aaba80fb24021dc774550194a18e111"

package/src/components/ChannelList/Skeleton.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React, { useEffect } from 'react';
22
import { StyleSheet, useWindowDimensions, View } from 'react-native';
33
import Animated, {
44
Easing,
5+
useAnimatedProps,
56
useAnimatedStyle,
67
useDerivedValue,
78
useSharedValue,
@@ -114,6 +115,13 @@ export const Skeleton = () => {
114115
} a${boneRadius} ${boneRadius} 0 1 0 0 -${boneHeight}z`;
115116
}, []);
116117

118+
const svgAnimatedProps = useAnimatedProps(
119+
() => ({
120+
d: d.value,
121+
}),
122+
[d],
123+
);
124+
117125
return (
118126
<View
119127
style={[styles.container, { borderBottomColor: border }, container]}
@@ -140,7 +148,7 @@ export const Skeleton = () => {
140148
</Svg>
141149
</Animated.View>
142150
<Svg height={height} width={width}>
143-
<Path d={d.value} fill={maskFillColor || white_snow} />
151+
<Path {...svgAnimatedProps} fill={maskFillColor || white_snow} />
144152
</Svg>
145153
</View>
146154
);

0 commit comments

Comments
 (0)