From f0e58d418220fc5ea5077c22f6798b6dd93df73c Mon Sep 17 00:00:00 2001 From: kirillzyusko Date: Sat, 16 Nov 2024 11:44:59 +0100 Subject: [PATCH] fix: platform inconsistency, fabric Android build --- .../KeyboardGestureAreaViewManager.kt | 8 ++++++++ .../KeyboardGestureAreaViewManager.kt | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/android/src/fabric/java/com/reactnativekeyboardcontroller/KeyboardGestureAreaViewManager.kt b/android/src/fabric/java/com/reactnativekeyboardcontroller/KeyboardGestureAreaViewManager.kt index aeaa64d73..d53028b06 100644 --- a/android/src/fabric/java/com/reactnativekeyboardcontroller/KeyboardGestureAreaViewManager.kt +++ b/android/src/fabric/java/com/reactnativekeyboardcontroller/KeyboardGestureAreaViewManager.kt @@ -56,4 +56,12 @@ class KeyboardGestureAreaViewManager( ) { manager.setScrollKeyboardOffScreenWhenVisible(view as KeyboardGestureAreaReactViewGroup, value) } + + @ReactProp(name = "textInputNativeID") + override fun setTextInputNativeID( + view: ReactViewGroup?, + value: String, + ) { + // no-op + } } diff --git a/android/src/paper/java/com/reactnativekeyboardcontroller/KeyboardGestureAreaViewManager.kt b/android/src/paper/java/com/reactnativekeyboardcontroller/KeyboardGestureAreaViewManager.kt index 996485ac5..135c482c3 100644 --- a/android/src/paper/java/com/reactnativekeyboardcontroller/KeyboardGestureAreaViewManager.kt +++ b/android/src/paper/java/com/reactnativekeyboardcontroller/KeyboardGestureAreaViewManager.kt @@ -48,4 +48,12 @@ class KeyboardGestureAreaViewManager( ) { manager.setScrollKeyboardOffScreenWhenVisible(view, value) } + + @ReactProp(name = "textInputNativeID") + fun setTextInputNativeID( + view: KeyboardGestureAreaReactViewGroup, + value: String, + ) { + // no-op + } }