vn-verdnaturachat/patches/react-native-keyboard-input...

46 lines
1.9 KiB
Diff

diff --git a/node_modules/react-native-keyboard-input/lib/android/src/main/java/com/wix/reactnativekeyboardinput/CustomKeyboardRootViewShadow.java b/node_modules/react-native-keyboard-input/lib/android/src/main/java/com/wix/reactnativekeyboardinput/CustomKeyboardRootViewShadow.java
index 3c8d37e..2fb804d 100644
--- a/node_modules/react-native-keyboard-input/lib/android/src/main/java/com/wix/reactnativekeyboardinput/CustomKeyboardRootViewShadow.java
+++ b/node_modules/react-native-keyboard-input/lib/android/src/main/java/com/wix/reactnativekeyboardinput/CustomKeyboardRootViewShadow.java
@@ -13,10 +13,10 @@ public class CustomKeyboardRootViewShadow extends LayoutShadowNode {
mLayout.setShadowNode(this);
}
- @Override
- public void onBeforeLayout() {
- mLayout.setShadowNode(this);
- }
+ // @Override
+ // public void onBeforeLayout() {
+ // mLayout.setShadowNode(this);
+ // }
public void setHeight(int heightPx) {
setStyleHeight(heightPx);
diff --git a/node_modules/react-native-keyboard-input/react-native-keyboard-input.podspec b/node_modules/react-native-keyboard-input/react-native-keyboard-input.podspec
new file mode 100644
index 0000000..1d08ca1
--- /dev/null
+++ b/node_modules/react-native-keyboard-input/react-native-keyboard-input.podspec
@@ -0,0 +1,19 @@
+require 'json'
+
+package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
+
+Pod::Spec.new do |s|
+ s.name = package['name']
+ s.version = package['version']
+ s.summary = package['description']
+ s.license = package['license']
+
+ s.authors = package['author']
+ s.homepage = package['homepage']
+ s.platform = :ios, "9.0"
+
+ s.source = { :git => "https://github.com/wix/react-native-keyboard-input.git", :tag => "v#{s.version}" }
+ s.source_files = "lib/ios/**/*.{h,m}"
+
+ s.dependency 'React'
+end
\ No newline at end of file