From b04f5fbfba61c5eb1808c4bcc795b03f6a950a05 Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Wed, 6 Nov 2024 06:38:47 -0800 Subject: [PATCH] Add Binding.h header back for backwards compat (#47453) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47453 `react-native-screens` [depends on this header](https://github.com/software-mansion/react-native-screens/blob/main/android/src/main/cpp/NativeProxy.cpp#L2) and this is an unnecessary API breakage. Changelog: [Android][Fixed] Added back `` header. Reviewed By: fabriziocucci Differential Revision: D65534176 fbshipit-source-id: ce252f29be1c5322f44e20b6e36ab51db9c7a8ef --- .../ReactAndroid/src/main/jni/react/fabric/Binding.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/react-native/ReactAndroid/src/main/jni/react/fabric/Binding.h diff --git a/packages/react-native/ReactAndroid/src/main/jni/react/fabric/Binding.h b/packages/react-native/ReactAndroid/src/main/jni/react/fabric/Binding.h new file mode 100644 index 00000000000..55a8314e98f --- /dev/null +++ b/packages/react-native/ReactAndroid/src/main/jni/react/fabric/Binding.h @@ -0,0 +1,12 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +#pragma once + +// This header exists for backwards compatibility with libraries importing +// +#include "FabricUIManagerBinding.h"