Skip to content

Commit 1d4b263

Browse files
j-piaseckihuntie
authored andcommitted
Fix prefab header paths for rrc_text and rrc_textinput (#43591)
Summary: - `rrc_textinput` at the moment points to a wrong subdirectory and needlessly adds a prefix path - `rrc_text` is missing headers for `attributedstring` which it depends on ## Changelog: [ANDROID] [FIXED] - Fixed prefab header paths for `rrc_text` and `rrc_textinput` Pull Request resolved: #43591 Reviewed By: fkgozali Differential Revision: D55199580 Pulled By: cortinico fbshipit-source-id: 85126c00943f82e908a52e05587661597761852e
1 parent 2c62dca commit 1d4b263

1 file changed

Lines changed: 16 additions & 6 deletions

File tree

packages/react-native/ReactAndroid/build.gradle.kts

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,24 @@ val preparePrefab by
127127
)),
128128
PrefabPreprocessingEntry(
129129
"rrc_text",
130-
Pair(
131-
"../ReactCommon/react/renderer/components/text/",
132-
"react/renderer/components/text/")),
130+
listOf(
131+
Pair(
132+
"../ReactCommon/react/renderer/components/text/",
133+
"react/renderer/components/text/"),
134+
Pair(
135+
"../ReactCommon/react/renderer/attributedstring",
136+
"react/renderer/attributedstring"),
137+
)),
133138
PrefabPreprocessingEntry(
134139
"rrc_textinput",
135-
Pair(
136-
"../ReactCommon/react/renderer/components/textinput/",
137-
"react/renderer/components/androidtextinput/")),
140+
listOf(
141+
Pair(
142+
"../ReactCommon/react/renderer/components/textinput/",
143+
"react/renderer/components/textinput/"),
144+
Pair(
145+
"../ReactCommon/react/renderer/components/textinput/platform/android/",
146+
""),
147+
)),
138148
PrefabPreprocessingEntry(
139149
"rrc_legacyviewmanagerinterop",
140150
Pair(

0 commit comments

Comments
 (0)