Skip to content

Commit

Permalink
Fix prefab prefix for fabricjni (#35648)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #35648

The `fabricjni` prefab module was missing the `react/fabric` prefix.
I'm adding it here.
Ref: reactwg/react-native-releases#41 (reply in thread)

Changelog:
[Internal] [Changed] - Fix prefab prefix for fabricjni

Reviewed By: cipolleschi

Differential Revision: D42047434

fbshipit-source-id: 202db49cd1ada2462652dbd7e56bad6779c263ac
  • Loading branch information
cortinico authored and facebook-github-bot committed Dec 15, 2022
1 parent 62d100a commit 3487640
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ReactAndroid/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ final def preparePrefab = tasks.register("preparePrefab", PreparePrefabHeadersTa
new PrefabPreprocessingEntry(
"fabricjni",
[
new Pair("src/main/jni/react/fabric", ""),
new Pair("src/main/jni/react/fabric", "react/fabric/"),
new Pair("src/main/jni/react/cxxcomponents", "react/cxxcomponents/")
]
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

#pragma once

#include <ComponentFactory.h>
#include <fbjni/fbjni.h>
#include <react/fabric/ComponentFactory.h>
#include <react/renderer/componentregistry/ComponentDescriptorProviderRegistry.h>
#include <react/renderer/componentregistry/ComponentDescriptorRegistry.h>
#include <react/renderer/core/ConcreteComponentDescriptor.h>
Expand Down

0 comments on commit 3487640

Please sign in to comment.