Skip to content

Commit

Permalink
Fix prefab header paths for rrc_text and rrc_textinput (#43591)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
j-piasecki authored and facebook-github-bot committed Mar 21, 2024
1 parent 511f29b commit 623bbe6
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions packages/react-native/ReactAndroid/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -127,14 +127,24 @@ val preparePrefab by
)),
PrefabPreprocessingEntry(
"rrc_text",
Pair(
"../ReactCommon/react/renderer/components/text/",
"react/renderer/components/text/")),
listOf(
Pair(
"../ReactCommon/react/renderer/components/text/",
"react/renderer/components/text/"),
Pair(
"../ReactCommon/react/renderer/attributedstring",
"react/renderer/attributedstring"),
)),
PrefabPreprocessingEntry(
"rrc_textinput",
Pair(
"../ReactCommon/react/renderer/components/textinput/",
"react/renderer/components/androidtextinput/")),
listOf(
Pair(
"../ReactCommon/react/renderer/components/textinput/",
"react/renderer/components/textinput/"),
Pair(
"../ReactCommon/react/renderer/components/textinput/platform/android/",
""),
)),
PrefabPreprocessingEntry(
"rrc_legacyviewmanagerinterop",
Pair(
Expand Down

0 comments on commit 623bbe6

Please sign in to comment.