Skip to content

Commit 4ca13ad

Browse files
authored
feat: upgrade Expo modules & react-native-reanimated v4 (#9533)
1 parent fc67edc commit 4ca13ad

File tree

12 files changed

+454
-239
lines changed

12 files changed

+454
-239
lines changed

apps/desktop/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = babelTools.normalizeConfig({
1515
],
1616
plugins: [
1717
// FIX: Uncaught Error: Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?
18-
'react-native-reanimated/plugin',
18+
'react-native-worklets/plugin',
1919
],
2020
},
2121
});

apps/ext/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = babelTools.normalizeConfig({
1111
],
1212
plugins: [
1313
// FIX: Uncaught Error: Reanimated 2 failed to create a worklet, maybe you forgot to add Reanimated's babel plugin?
14-
'react-native-reanimated/plugin',
14+
'react-native-worklets/plugin',
1515
],
1616
sourceType: 'unambiguous',
1717
},

apps/mobile/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = function (api) {
4646
},
4747
],
4848
[
49-
'react-native-reanimated/plugin',
49+
'react-native-worklets/plugin',
5050
{
5151
globals: ['__scanCodes'],
5252
},

apps/mobile/ios/Podfile.lock

Lines changed: 79 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ PODS:
146146
- ExpoModulesCore
147147
- ZXingObjC/OneD
148148
- ZXingObjC/PDF417
149-
- ExpoClipboard (8.0.7):
149+
- ExpoClipboard (8.0.8):
150150
- ExpoModulesCore
151-
- ExpoCrypto (14.1.5):
151+
- ExpoCrypto (15.0.8):
152152
- ExpoModulesCore
153153
- ExpoDevice (8.0.9):
154154
- ExpoModulesCore
@@ -171,11 +171,11 @@ PODS:
171171
- ExpoModulesCore
172172
- ExpoKeepAwake (14.1.4):
173173
- ExpoModulesCore
174-
- ExpoLinearGradient (14.1.5):
174+
- ExpoLinearGradient (15.0.8):
175175
- ExpoModulesCore
176176
- ExpoLinking (7.1.5):
177177
- ExpoModulesCore
178-
- ExpoLocalAuthentication (16.0.4):
178+
- ExpoLocalAuthentication (17.0.8):
179179
- ExpoModulesCore
180180
- ExpoLocalization (16.1.5):
181181
- ExpoModulesCore
@@ -210,7 +210,7 @@ PODS:
210210
- Yoga
211211
- ExpoScreenCapture (7.1.5):
212212
- ExpoModulesCore
213-
- ExpoScreenOrientation (8.1.7):
213+
- ExpoScreenOrientation (9.0.8):
214214
- boost
215215
- DoubleConversion
216216
- ExpoModulesCore
@@ -241,11 +241,11 @@ PODS:
241241
- Yoga
242242
- ExpoSecureStore (14.2.3):
243243
- ExpoModulesCore
244-
- ExpoSharing (13.1.5):
244+
- ExpoSharing (14.0.8):
245245
- ExpoModulesCore
246-
- ExpoSplashScreen (0.30.9):
246+
- ExpoSplashScreen (31.0.12):
247247
- ExpoModulesCore
248-
- ExpoWebBrowser (14.2.0):
248+
- ExpoWebBrowser (15.0.10):
249249
- ExpoModulesCore
250250
- fast_float (8.0.0)
251251
- FBLazyVector (0.81.5)
@@ -2348,7 +2348,7 @@ PODS:
23482348
- Yoga
23492349
- react-native-ping (1.2.8):
23502350
- React
2351-
- react-native-safe-area-context (5.4.1):
2351+
- react-native-safe-area-context (5.6.2):
23522352
- boost
23532353
- DoubleConversion
23542354
- fast_float
@@ -2366,8 +2366,8 @@ PODS:
23662366
- React-graphics
23672367
- React-ImageManager
23682368
- React-jsi
2369-
- react-native-safe-area-context/common (= 5.4.1)
2370-
- react-native-safe-area-context/fabric (= 5.4.1)
2369+
- react-native-safe-area-context/common (= 5.6.2)
2370+
- react-native-safe-area-context/fabric (= 5.6.2)
23712371
- React-NativeModulesApple
23722372
- React-RCTFabric
23732373
- React-renderercss
@@ -2378,7 +2378,7 @@ PODS:
23782378
- ReactCommon/turbomodule/core
23792379
- SocketRocket
23802380
- Yoga
2381-
- react-native-safe-area-context/common (5.4.1):
2381+
- react-native-safe-area-context/common (5.6.2):
23822382
- boost
23832383
- DoubleConversion
23842384
- fast_float
@@ -2406,7 +2406,7 @@ PODS:
24062406
- ReactCommon/turbomodule/core
24072407
- SocketRocket
24082408
- Yoga
2409-
- react-native-safe-area-context/fabric (5.4.1):
2409+
- react-native-safe-area-context/fabric (5.6.2):
24102410
- boost
24112411
- DoubleConversion
24122412
- fast_float
@@ -3536,7 +3536,7 @@ PODS:
35363536
- RNPurchases (8.11.9):
35373537
- PurchasesHybridCommon (= 14.2.0)
35383538
- React-Core
3539-
- RNReanimated (3.19.4):
3539+
- RNReanimated (4.2.1):
35403540
- boost
35413541
- DoubleConversion
35423542
- fast_float
@@ -3563,11 +3563,11 @@ PODS:
35633563
- ReactCodegen
35643564
- ReactCommon/turbomodule/bridging
35653565
- ReactCommon/turbomodule/core
3566-
- RNReanimated/reanimated (= 3.19.4)
3567-
- RNReanimated/worklets (= 3.19.4)
3566+
- RNReanimated/reanimated (= 4.2.1)
3567+
- RNWorklets
35683568
- SocketRocket
35693569
- Yoga
3570-
- RNReanimated/reanimated (3.19.4):
3570+
- RNReanimated/reanimated (4.2.1):
35713571
- boost
35723572
- DoubleConversion
35733573
- fast_float
@@ -3594,10 +3594,11 @@ PODS:
35943594
- ReactCodegen
35953595
- ReactCommon/turbomodule/bridging
35963596
- ReactCommon/turbomodule/core
3597-
- RNReanimated/reanimated/apple (= 3.19.4)
3597+
- RNReanimated/reanimated/apple (= 4.2.1)
3598+
- RNWorklets
35983599
- SocketRocket
35993600
- Yoga
3600-
- RNReanimated/reanimated/apple (3.19.4):
3601+
- RNReanimated/reanimated/apple (4.2.1):
36013602
- boost
36023603
- DoubleConversion
36033604
- fast_float
@@ -3624,9 +3625,40 @@ PODS:
36243625
- ReactCodegen
36253626
- ReactCommon/turbomodule/bridging
36263627
- ReactCommon/turbomodule/core
3628+
- RNWorklets
36273629
- SocketRocket
36283630
- Yoga
3629-
- RNReanimated/worklets (3.19.4):
3631+
- RNScreens (4.18.0):
3632+
- boost
3633+
- DoubleConversion
3634+
- fast_float
3635+
- fmt
3636+
- glog
3637+
- hermes-engine
3638+
- RCT-Folly
3639+
- RCT-Folly/Fabric
3640+
- RCTRequired
3641+
- RCTTypeSafety
3642+
- React-Core
3643+
- React-debug
3644+
- React-Fabric
3645+
- React-featureflags
3646+
- React-graphics
3647+
- React-ImageManager
3648+
- React-jsi
3649+
- React-NativeModulesApple
3650+
- React-RCTFabric
3651+
- React-RCTImage
3652+
- React-renderercss
3653+
- React-rendererdebug
3654+
- React-utils
3655+
- ReactCodegen
3656+
- ReactCommon/turbomodule/bridging
3657+
- ReactCommon/turbomodule/core
3658+
- RNScreens/common (= 4.18.0)
3659+
- SocketRocket
3660+
- Yoga
3661+
- RNScreens/common (4.18.0):
36303662
- boost
36313663
- DoubleConversion
36323664
- fast_float
@@ -3642,21 +3674,20 @@ PODS:
36423674
- React-Fabric
36433675
- React-featureflags
36443676
- React-graphics
3645-
- React-hermes
36463677
- React-ImageManager
36473678
- React-jsi
36483679
- React-NativeModulesApple
36493680
- React-RCTFabric
3681+
- React-RCTImage
36503682
- React-renderercss
36513683
- React-rendererdebug
36523684
- React-utils
36533685
- ReactCodegen
36543686
- ReactCommon/turbomodule/bridging
36553687
- ReactCommon/turbomodule/core
3656-
- RNReanimated/worklets/apple (= 3.19.4)
36573688
- SocketRocket
36583689
- Yoga
3659-
- RNReanimated/worklets/apple (3.19.4):
3690+
- RNSentry (6.22.0):
36603691
- boost
36613692
- DoubleConversion
36623693
- fast_float
@@ -3683,9 +3714,10 @@ PODS:
36833714
- ReactCodegen
36843715
- ReactCommon/turbomodule/bridging
36853716
- ReactCommon/turbomodule/core
3717+
- Sentry/HybridSDK (= 8.56.2)
36863718
- SocketRocket
36873719
- Yoga
3688-
- RNScreens (4.18.0):
3720+
- RNSVG (15.12.1):
36893721
- boost
36903722
- DoubleConversion
36913723
- fast_float
@@ -3705,17 +3737,16 @@ PODS:
37053737
- React-jsi
37063738
- React-NativeModulesApple
37073739
- React-RCTFabric
3708-
- React-RCTImage
37093740
- React-renderercss
37103741
- React-rendererdebug
37113742
- React-utils
37123743
- ReactCodegen
37133744
- ReactCommon/turbomodule/bridging
37143745
- ReactCommon/turbomodule/core
3715-
- RNScreens/common (= 4.18.0)
3746+
- RNSVG/common (= 15.12.1)
37163747
- SocketRocket
37173748
- Yoga
3718-
- RNScreens/common (4.18.0):
3749+
- RNSVG/common (15.12.1):
37193750
- boost
37203751
- DoubleConversion
37213752
- fast_float
@@ -3735,7 +3766,6 @@ PODS:
37353766
- React-jsi
37363767
- React-NativeModulesApple
37373768
- React-RCTFabric
3738-
- React-RCTImage
37393769
- React-renderercss
37403770
- React-rendererdebug
37413771
- React-utils
@@ -3744,7 +3774,7 @@ PODS:
37443774
- ReactCommon/turbomodule/core
37453775
- SocketRocket
37463776
- Yoga
3747-
- RNSentry (6.22.0):
3777+
- RNWorklets (0.7.1):
37483778
- boost
37493779
- DoubleConversion
37503780
- fast_float
@@ -3771,10 +3801,10 @@ PODS:
37713801
- ReactCodegen
37723802
- ReactCommon/turbomodule/bridging
37733803
- ReactCommon/turbomodule/core
3774-
- Sentry/HybridSDK (= 8.56.2)
3804+
- RNWorklets/worklets (= 0.7.1)
37753805
- SocketRocket
37763806
- Yoga
3777-
- RNSVG (15.12.1):
3807+
- RNWorklets/worklets (0.7.1):
37783808
- boost
37793809
- DoubleConversion
37803810
- fast_float
@@ -3790,6 +3820,7 @@ PODS:
37903820
- React-Fabric
37913821
- React-featureflags
37923822
- React-graphics
3823+
- React-hermes
37933824
- React-ImageManager
37943825
- React-jsi
37953826
- React-NativeModulesApple
@@ -3800,10 +3831,10 @@ PODS:
38003831
- ReactCodegen
38013832
- ReactCommon/turbomodule/bridging
38023833
- ReactCommon/turbomodule/core
3803-
- RNSVG/common (= 15.12.1)
3834+
- RNWorklets/worklets/apple (= 0.7.1)
38043835
- SocketRocket
38053836
- Yoga
3806-
- RNSVG/common (15.12.1):
3837+
- RNWorklets/worklets/apple (0.7.1):
38073838
- boost
38083839
- DoubleConversion
38093840
- fast_float
@@ -3819,6 +3850,7 @@ PODS:
38193850
- React-Fabric
38203851
- React-featureflags
38213852
- React-graphics
3853+
- React-hermes
38223854
- React-ImageManager
38233855
- React-jsi
38243856
- React-NativeModulesApple
@@ -4074,6 +4106,7 @@ DEPENDENCIES:
40744106
- RNScreens (from `../../../node_modules/react-native-screens`)
40754107
- "RNSentry (from `../../../node_modules/@sentry/react-native`)"
40764108
- RNSVG (from `../../../node_modules/react-native-svg`)
4109+
- RNWorklets (from `../../../node_modules/react-native-worklets`)
40774110
- RNZipArchive (from `../../../node_modules/react-native-zip-archive`)
40784111
- "Skeleton (from `../../../node_modules/@onekeyfe/react-native-skeleton`)"
40794112
- "SniConnect (from `../../../node_modules/@onekeyfe/react-native-sni-connect`)"
@@ -4408,6 +4441,8 @@ EXTERNAL SOURCES:
44084441
:path: "../../../node_modules/@sentry/react-native"
44094442
RNSVG:
44104443
:path: "../../../node_modules/react-native-svg"
4444+
RNWorklets:
4445+
:path: "../../../node_modules/react-native-worklets"
44114446
RNZipArchive:
44124447
:path: "../../../node_modules/react-native-zip-archive"
44134448
Skeleton:
@@ -4436,8 +4471,8 @@ SPEC CHECKSUMS:
44364471
ExpoAsset: d839c8eae8124470332408427327e8f88beb2dfd
44374472
ExpoBlur: 2dd8f64aa31f5d405652c21d3deb2d2588b1852f
44384473
ExpoCamera: 7edf99216d92e40b991d4e7ed69eba9527c94cda
4439-
ExpoClipboard: af650d14765f19c60ce2a1eaf9dfe6445eff7365
4440-
ExpoCrypto: a9f1d75baeea6ef8b03c1660621585196c382e85
4474+
ExpoClipboard: b36b287d8356887844bb08ed5c84b5979bb4dd1e
4475+
ExpoCrypto: b6105ebaa15d6b38a811e71e43b52cd934945322
44414476
ExpoDevice: 148accb4071873d19fba80a2506c58ffa433d620
44424477
ExpoFileSystem: 77157a101e03150a4ea4f854b4dd44883c93ae0a
44434478
ExpoFont: cf9d90ec1d3b97c4f513211905724c8171f82961
@@ -4446,17 +4481,17 @@ SPEC CHECKSUMS:
44464481
ExpoImageManipulator: 1e06e7a1e56f454e75d01b7032c1e44963bfc865
44474482
ExpoImagePicker: 0963da31800c906e01c03e25d7c849f16ebf02a2
44484483
ExpoKeepAwake: bf0811570c8da182bfb879169437d4de298376e7
4449-
ExpoLinearGradient: 7734c8059972fcf691fb4330bcdf3390960a152d
4484+
ExpoLinearGradient: 809102bdb979f590083af49f7fa4805cd931bd58
44504485
ExpoLinking: b85ff4eafeae6fc638c6cace60007ae521af0ef4
4451-
ExpoLocalAuthentication: 490fac71e8b2ad9f1252ee7c7b391f85db1fae33
4486+
ExpoLocalAuthentication: 8a31808565da7af926dd9b595e98594d8b1553b6
44524487
ExpoLocalization: f6c6aaa3bfff77b666bb958bdfeb5c55df21d990
44534488
ExpoModulesCore: b94afa7f5899dee038f3c4d049bac115bdc9654e
44544489
ExpoScreenCapture: 936adc13394b58fc78a9785723e08aa28a10bc41
4455-
ExpoScreenOrientation: 62c4750605bcf5834b9dc080afe741bc1965a802
4490+
ExpoScreenOrientation: b895491eb180dd92836f00198ac215f2fae2d45b
44564491
ExpoSecureStore: b367d9f62c9102d808afbeb1561636d4276e439d
4457-
ExpoSharing: b0377be82430d07398c6a4cd60b5a15696accbd3
4458-
ExpoSplashScreen: 03ef991c0f9575a10269e08083cb4bd10e0989bc
4459-
ExpoWebBrowser: dc39a88485f007e61a3dff05d6a75f22ab4a2e92
4492+
ExpoSharing: 0d983394ed4a80334bab5a0d5384f75710feb7e8
4493+
ExpoSplashScreen: 76af87337650d06926aa7d0157fe98b4fddca336
4494+
ExpoWebBrowser: 17b064c621789e41d4816c95c93f429b84971f52
44604495
fast_float: b32c788ed9c6a8c584d114d0047beda9664e7cc6
44614496
FBLazyVector: 5beb8028d5a2e75dd9634917f23e23d3a061d2aa
44624497
fmt: a40bb5bd0294ea969aaaba240a927bd33d878cdd
@@ -4520,7 +4555,7 @@ SPEC CHECKSUMS:
45204555
react-native-pager-view: 6132f46ae73440fa7c83ae9d8dfdda3edece5222
45214556
react-native-performance-stats: 8820079bb3a8127f798f0e201d0ca1ab65735410
45224557
react-native-ping: 589027e929c300b0b68cc5c34105f33610177055
4523-
react-native-safe-area-context: 45b4257b9801cbf615bfc71ddcbb6d808dd32945
4558+
react-native-safe-area-context: c00143b4823773bba23f2f19f85663ae89ceb460
45244559
react-native-slider: 663776e5683e257de8df8091abc2d93ff6ec67db
45254560
react-native-tcp-socket: 120072c8020262032773f80f0daaf3964aaa08a1
45264561
react-native-video: 7b821291837d8ba7b9d7574bfeb0cd651e910141
@@ -4575,10 +4610,11 @@ SPEC CHECKSUMS:
45754610
RNNotifee: 5e3b271e8ea7456a36eec994085543c9adca9168
45764611
RNPermissions: 808e11d2ffe4d8ddea33d8304310a28f281b6a0a
45774612
RNPurchases: 4c820359d90fab9c83ffd3ef5471d59db72e2ed1
4578-
RNReanimated: 240e69afeecfc783f6a602e03349fc607d760bd4
4613+
RNReanimated: 464375ff2caa801358547c44eca894ff0bf68e74
45794614
RNScreens: d821082c6dd1cb397cc0c98b026eeafaa68be479
45804615
RNSentry: a20c5194cc6d7902683276f399a6eb5206fb9f05
45814616
RNSVG: 6f39605a4c4d200b11435c35bd077553c6b5963a
4617+
RNWorklets: 8068c8af4b241eb2c19221310729e4c440bee023
45824618
RNZipArchive: 4304f5100eab004eeb7349adc51997b3a28deb76
45834619
SDWebImage: 16309af6d214ba3f77a7c6f6fdda888cb313a50a
45844620
SDWebImageSVGCoder: 15a300a97ec1c8ac958f009c02220ac0402e936c

0 commit comments

Comments
 (0)