Skip to content

Commit 05005ce

Browse files
committed
fix: issue with rn-svg on android and rn-video fabric compatibility
1 parent a0b617e commit 05005ce

File tree

10 files changed

+76
-403
lines changed

10 files changed

+76
-403
lines changed

examples/SampleApp/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ PODS:
12731273
- React-RCTImage
12741274
- RNShare (10.2.1):
12751275
- React-Core
1276-
- RNSVG (14.1.0):
1276+
- RNSVG (15.6.0):
12771277
- React-Core
12781278
- SDWebImage (5.11.1):
12791279
- SDWebImage/Core (= 5.11.1)
@@ -1614,7 +1614,7 @@ SPEC CHECKSUMS:
16141614
RNReanimated: 440ca83ef0a79a3376455663fc4a01300e131240
16151615
RNScreens: 136d868cc4a78b41042a1a5f1cb42b99a47033f5
16161616
RNShare: 0fad69ae2d71de9d1f7b9a43acf876886a6cb99c
1617-
RNSVG: ba3e7232f45e34b7b47e74472386cf4e1a676d0a
1617+
RNSVG: 5da7a24f31968ec74f0b091e3440080f347e279b
16181618
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
16191619
SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d
16201620
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17

examples/SampleApp/ios/SampleApp.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,9 @@
636636
" ${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon/ReactCommon.framework/Headers",
637637
" ${PODS_CONFIGURATION_BUILD_DIR}/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx",
638638
" ${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers",
639+
" ${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon/ReactCommon.framework/Headers",
640+
" ${PODS_CONFIGURATION_BUILD_DIR}/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx",
641+
" ${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers",
639642
);
640643
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
641644
LD_RUNPATH_SEARCH_PATHS = (
@@ -750,6 +753,9 @@
750753
" ${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon/ReactCommon.framework/Headers",
751754
" ${PODS_CONFIGURATION_BUILD_DIR}/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx",
752755
" ${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers",
756+
" ${PODS_CONFIGURATION_BUILD_DIR}/ReactCommon/ReactCommon.framework/Headers",
757+
" ${PODS_CONFIGURATION_BUILD_DIR}/React-Fabric/React_Fabric.framework/Headers/react/renderer/components/view/platform/cxx",
758+
" ${PODS_CONFIGURATION_BUILD_DIR}/React-graphics/React_graphics.framework/Headers",
753759
);
754760
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
755761
LD_RUNPATH_SEARCH_PATHS = (

examples/SampleApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"react-native-safe-area-context": "^4.10.7",
4848
"react-native-screens": "^3.32.0",
4949
"react-native-share": "^10.2.1",
50-
"react-native-svg": "^14.1.0",
50+
"react-native-svg": "^15.6.0",
5151
"react-native-video": "^6.4.2",
5252
"stream-chat-react-native": "link:../../package/native-package",
5353
"stream-chat-react-native-core": "link:../../package"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
module.exports = {
22
project: {
3+
android: {
4+
unstable_reactLegacyComponentNames: ['Video'],
5+
},
36
ios: {
47
automaticPodsInstallation: true,
8+
unstable_reactLegacyComponentNames: ['Video'],
59
},
610
},
711
};

examples/SampleApp/yarn.lock

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,6 +1225,14 @@
12251225
"@gorhom/portal" "1.0.14"
12261226
invariant "^2.2.4"
12271227

1228+
"@gorhom/bottom-sheet@^4.6.4":
1229+
version "4.6.4"
1230+
resolved "https://registry.yarnpkg.com/@gorhom/bottom-sheet/-/bottom-sheet-4.6.4.tgz#387d0f0f21e3470eb8575498cb81ce96f5108e79"
1231+
integrity sha512-0itLMblLBvepE065w3a60S030c2rNUsGshPC7wbWDm31VyqoaU2xjzh/ojH62YIJOcobBr5QoC30IxBBKDGovQ==
1232+
dependencies:
1233+
"@gorhom/portal" "1.0.14"
1234+
invariant "^2.2.4"
1235+
12281236
12291237
version "1.0.14"
12301238
resolved "https://registry.yarnpkg.com/@gorhom/portal/-/portal-1.0.14.tgz#1953edb76aaba80fb24021dc774550194a18e111"
@@ -6355,13 +6363,14 @@ react-native-share@^10.2.1:
63556363
resolved "https://registry.yarnpkg.com/react-native-share/-/react-native-share-10.2.1.tgz#baf94848c2acee6e52f6b28e05c47fa5fa9402be"
63566364
integrity sha512-Z2LWGYWH7raM4H6Oauttv1tEhaB43XSWJAN8iS6oaSG9CnyrUBeYFF4QpU1AH5RgNeylXQdN8CtbizCHHt6coQ==
63576365

6358-
react-native-svg@^14.1.0:
6359-
version "14.1.0"
6360-
resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-14.1.0.tgz#7903bddd3c71bf3a8a503918253c839e6edaa724"
6361-
integrity sha512-HeseElmEk+AXGwFZl3h56s0LtYD9HyGdrpg8yd9QM26X+d7kjETrRQ9vCjtxuT5dCZEIQ5uggU1dQhzasnsCWA==
6366+
react-native-svg@^15.6.0:
6367+
version "15.6.0"
6368+
resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-15.6.0.tgz#13b2af53b1701597df301122b869b61918e1e9a5"
6369+
integrity sha512-TUtR+h+yi1ODsd8FHdom1TpjfWOmnaK5pri5rnSBXnMqpzq8o2zZfonHTjPX+nS3wb/Pu2XsoARgYaHNjVWXhQ==
63626370
dependencies:
63636371
css-select "^5.1.0"
63646372
css-tree "^1.1.3"
6373+
warn-once "0.1.1"
63656374

63666375
react-native-url-polyfill@^1.3.0:
63676376
version "1.3.0"
@@ -7454,7 +7463,7 @@ walker@^1.0.7, walker@^1.0.8:
74547463
dependencies:
74557464
makeerror "1.0.12"
74567465

7457-
warn-once@^0.1.0:
7466+
warn-once@0.1.1, warn-once@^0.1.0:
74587467
version "0.1.1"
74597468
resolved "https://registry.yarnpkg.com/warn-once/-/warn-once-0.1.1.tgz#952088f4fb56896e73fd4e6a3767272a3fccce43"
74607469
integrity sha512-VkQZJbO8zVImzYFteBXvBOZEl1qL175WH8VmZcxF2fZAoudNhNDvHi+doCaAEdU2l2vtcIwa2zn0QK5+I1HQ3Q==

0 commit comments

Comments
 (0)