Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32171806
D14996.1765061090.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D14996.1765061090.diff
View Options
diff --git a/patches/react-native-keyboard-input+6.0.1.patch b/patches/react-native-keyboard-input+6.0.1.patch
--- a/patches/react-native-keyboard-input+6.0.1.patch
+++ b/patches/react-native-keyboard-input+6.0.1.patch
@@ -1,3 +1,16 @@
+diff --git a/node_modules/react-native-keyboard-input/lib/android/build.gradle b/node_modules/react-native-keyboard-input/lib/android/build.gradle
+index 1dd0e57..84b4525 100644
+--- a/node_modules/react-native-keyboard-input/lib/android/build.gradle
++++ b/node_modules/react-native-keyboard-input/lib/android/build.gradle
+@@ -1,7 +1,7 @@
+ apply plugin: 'com.android.library'
+
+ android {
+- compileSdkVersion 28
++ compileSdkVersion 30
+ buildToolsVersion "28.0.3"
+
+ defaultConfig {
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 46d2207..830c7b5 100644
--- a/node_modules/react-native-keyboard-input/lib/android/src/main/java/com/wix/reactnativekeyboardinput/CustomKeyboardRootViewShadow.java
@@ -11,7 +24,7 @@
mLayout.setShadowNode(this);
}
diff --git a/node_modules/react-native-keyboard-input/lib/android/src/main/java/com/wix/reactnativekeyboardinput/ReactSoftKeyboardMonitor.java b/node_modules/react-native-keyboard-input/lib/android/src/main/java/com/wix/reactnativekeyboardinput/ReactSoftKeyboardMonitor.java
-index 6bd4453..8607b47 100644
+index 6bd4453..a0f588a 100644
--- a/node_modules/react-native-keyboard-input/lib/android/src/main/java/com/wix/reactnativekeyboardinput/ReactSoftKeyboardMonitor.java
+++ b/node_modules/react-native-keyboard-input/lib/android/src/main/java/com/wix/reactnativekeyboardinput/ReactSoftKeyboardMonitor.java
@@ -1,6 +1,11 @@
@@ -137,9 +150,27 @@
registerListener(props, nextProps) {
diff --git a/node_modules/react-native-keyboard-input/src/KeyboardAccessoryView.js b/node_modules/react-native-keyboard-input/src/KeyboardAccessoryView.js
-index b91aa83..f403d38 100644
+index b91aa83..cc501e6 100644
--- a/node_modules/react-native-keyboard-input/src/KeyboardAccessoryView.js
+++ b/node_modules/react-native-keyboard-input/src/KeyboardAccessoryView.js
+@@ -52,7 +52,7 @@ export default class KeyboardAccessoryView extends Component {
+ this.customInputControllerEventsSubscriber.remove();
+ }
+ if (IsAndroid) {
+- BackHandler.removeEventListener('hardwareBackPress', this.onAndroidBackPressed);
++ this.backHandlerSubscription?.remove();
+ }
+ }
+
+@@ -106,7 +106,7 @@ export default class KeyboardAccessoryView extends Component {
+
+ registerAndroidBackHandler() {
+ if (IsAndroid) {
+- BackHandler.addEventListener('hardwareBackPress', this.onAndroidBackPressed);
++ this.backHandlerSubscription = BackHandler.addEventListener('hardwareBackPress', this.onAndroidBackPressed);
+ }
+ }
+
@@ -126,11 +126,15 @@ export default class KeyboardAccessoryView extends Component {
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 6, 10:44 PM (5 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5841243
Default Alt Text
D14996.1765061090.diff (3 KB)
Attached To
Mode
D14996: [native][RN79][skip-ci] Patch react-native-keyboard-input
Attached
Detach File
Event Timeline
Log In to Comment