Skip to content

Commit 0e01218

Browse files
[MOO-1870] React Native 0.78 New Architecture compatibility fixes (#383)
2 parents 92ef47b + abab79b commit 0e01218

File tree

14 files changed

+87
-70
lines changed

14 files changed

+87
-70
lines changed

configs/e2e/native_dependencies.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"react-native-material-menu": "1.2.0",
77
"react-native-linear-gradient": "2.8.3",
88
"@react-native-community/netinfo": "11.4.1",
9-
"react-native-svg": "15.11.1",
9+
"react-native-svg": "15.12.1",
1010
"react-native-video": "6.10.0",
1111
"@react-native-async-storage/async-storage": "2.0.0",
1212
"react-native-vision-camera": "4.7.1",

packages/jsActions/mobile-resources-native/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
"branchName": "main"
1818
},
1919
"scripts": {
20-
"prestart": "rimraf ./dist",
20+
"prestart": "rimraf ./dist/**",
2121
"start": "rollup --config ../../../configs/jsactions/rollup.config.mjs --watch --configProject nativemobileresources",
22-
"prebuild": "rimraf ./dist",
22+
"prebuild": "rimraf ./dist/**",
2323
"build": "rollup --config ../../../configs/jsactions/rollup.config.mjs --configProject nativemobileresources",
2424
"lint": "eslint --config ../../../.eslintrc.js --ext .jsx,.js,.ts,.tsx src/",
2525
"release": "pnpm build",
@@ -47,6 +47,6 @@
4747
"@types/querystringify": "^2.0.0",
4848
"@types/url-parse": "^1.4.3",
4949
"mendix": "~10.0.9976",
50-
"rimraf": "^6.0.1"
50+
"rimraf": "^6.1.2"
5151
}
5252
}

packages/pluggableWidgets/bottom-sheet-native/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
- Updated react-native-reanimated to v3.17.5. This addresses compatibility issues with React Native 0.78 and later versions.
10+
911
## [5.0.2] - 2025-10-2
1012

1113
- Updated react-native-reanimated to v3.16.7

packages/pluggableWidgets/bottom-sheet-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@shopify/flash-list": "1.7.3",
2626
"react-native-device-info": "14.0.4",
2727
"react-native-gesture-handler": "2.24.0",
28-
"react-native-reanimated": "3.16.7"
28+
"react-native-reanimated": "3.17.5"
2929
},
3030
"devDependencies": {
3131
"@mendix/pluggable-widgets-tools": "*",

packages/pluggableWidgets/gallery-text-filter-native/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
- Updated react-native-svg to v15.12.1. This addresses compatibility issues with React Native 0.78 and later versions.
10+
911
## [2.0.0] - 2024-12-3
1012

1113
### Changed

packages/pluggableWidgets/gallery-text-filter-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"dependencies": {
2323
"@mendix/piw-native-utils-internal": "*",
2424
"@mendix/piw-utils-internal": "*",
25-
"react-native-svg": "15.7.1"
25+
"react-native-svg": "15.12.1"
2626
},
2727
"devDependencies": {
2828
"@mendix/pluggable-widgets-tools": "*"

packages/pluggableWidgets/image-native/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
- Updated react-native-svg to v15.12.1. This addresses compatibility issues with React Native 0.78 and later versions.
10+
911
## [3.0.1] - 2025-10-2
1012

1113
### Changed

packages/pluggableWidgets/image-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@d11/react-native-fast-image": "8.11.1",
2626
"@mendix/piw-native-utils-internal": "*",
2727
"@mendix/piw-utils-internal": "*",
28-
"react-native-svg": "15.7.1",
28+
"react-native-svg": "15.12.1",
2929
"react-native-vector-icons": "10.2.0"
3030
},
3131
"devDependencies": {

packages/pluggableWidgets/image-native/src/components/__tests__/__snapshots__/Image.spec.tsx.snap

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ exports[`Widget Dynamic Image SVG renders the structure 1`] = `
8080
]
8181
}
8282
testID="Image1$SvgUri"
83-
tintColor="#000"
8483
uri="file:///this/is/a/fake/path.svg"
8584
vbHeight={9999}
8685
vbWidth={9999}
@@ -300,7 +299,6 @@ exports[`Widget Dynamic Image SVG renders the structure inside a modal 1`] = `
300299
]
301300
}
302301
testID="Image1$SvgUri"
303-
tintColor="#000"
304302
uri="file:///this/is/a/fake/path.svg"
305303
vbHeight={9999}
306304
vbWidth={9999}
@@ -466,7 +464,6 @@ exports[`Widget Dynamic Image SVG renders the structure inside a modal 1`] = `
466464
]
467465
}
468466
testID="Image1$SvgUri"
469-
tintColor="#000"
470467
uri="file:///this/is/a/fake/path.svg"
471468
vbHeight={9999}
472469
vbWidth={9999}
@@ -583,7 +580,6 @@ exports[`Widget Dynamic Image SVG renders the structure with custom height 1`] =
583580
]
584581
}
585582
testID="Image1$SvgUri"
586-
tintColor="#000"
587583
uri="file:///this/is/a/fake/path.svg"
588584
vbHeight={9999}
589585
vbWidth={9999}
@@ -697,7 +693,6 @@ exports[`Widget Dynamic Image SVG renders the structure with custom width 1`] =
697693
]
698694
}
699695
testID="Image1$SvgUri"
700-
tintColor="#000"
701696
uri="file:///this/is/a/fake/path.svg"
702697
vbHeight={9999}
703698
vbWidth={9999}
@@ -2057,7 +2052,6 @@ exports[`Widget Static Image SVG renders the structure 1`] = `
20572052
]
20582053
}
20592054
testID="Image1$SvgXml"
2060-
tintColor="#000"
20612055
vbHeight={15}
20622056
vbWidth={15}
20632057
version={1.1}
@@ -2160,7 +2154,6 @@ exports[`Widget Static Image SVG renders the structure as a background image 1`]
21602154
]
21612155
}
21622156
testID="Image1$SvgXml"
2163-
tintColor="#000"
21642157
vbHeight={15}
21652158
vbWidth={15}
21662159
version={1.1}
@@ -2267,7 +2260,6 @@ exports[`Widget Static Image SVG renders the structure as a background image wit
22672260
]
22682261
}
22692262
testID="Image1$SvgXml"
2270-
tintColor="#000"
22712263
vbHeight={15}
22722264
vbWidth={15}
22732265
version={1.1}
@@ -2374,7 +2366,6 @@ exports[`Widget Static Image SVG renders the structure as a background image wit
23742366
]
23752367
}
23762368
testID="Image1$SvgXml"
2377-
tintColor="#000"
23782369
vbHeight={15}
23792370
vbWidth={15}
23802371
version={1.1}
@@ -2502,7 +2493,6 @@ exports[`Widget Static Image SVG renders the structure inside a modal 1`] = `
25022493
]
25032494
}
25042495
testID="Image1$SvgXml"
2505-
tintColor="#000"
25062496
vbHeight={15}
25072497
vbWidth={15}
25082498
version={1.1}
@@ -2671,7 +2661,6 @@ exports[`Widget Static Image SVG renders the structure inside a modal 1`] = `
26712661
]
26722662
}
26732663
testID="Image1$SvgXml"
2674-
tintColor="#000"
26752664
vbHeight={15}
26762665
vbWidth={15}
26772666
version={1.1}
@@ -2792,7 +2781,6 @@ exports[`Widget Static Image SVG renders the structure with custom height 1`] =
27922781
]
27932782
}
27942783
testID="Image1$SvgXml"
2795-
tintColor="#000"
27962784
vbHeight={15}
27972785
vbWidth={15}
27982786
version={1.1}
@@ -2910,7 +2898,6 @@ exports[`Widget Static Image SVG renders the structure with custom width 1`] = `
29102898
]
29112899
}
29122900
testID="Image1$SvgXml"
2913-
tintColor="#000"
29142901
vbHeight={15}
29152902
vbWidth={15}
29162903
version={1.1}

packages/pluggableWidgets/qr-code-native/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
- Updated react-native-svg to v15.12.1. This addresses compatibility issues with React Native 0.78 and later versions.
10+
911
## [4.0.0] - 2024-12-3
1012

1113
### Changed

0 commit comments

Comments
 (0)