Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix(mobile): remove react-native-keyboard-controller patch (#2697)

Evan Simkowitzbb0d050cf0f6
diff --git a/apps/mobile/package.json b/apps/mobile/package.json
index 60db217a..9b9378a2 100644
--- a/apps/mobile/package.json
+++ b/apps/mobile/package.json
@@ -66,7 +66,7 @@
"react-native-css-interop": "0.2.1",
"react-native-gesture-handler": "~2.28.0",
"react-native-image-viewing": "^0.2.2",
- "react-native-keyboard-controller": "^1.21.0",
+ "react-native-keyboard-controller": "^1.21.5",
"react-native-markdown-display": "^7.0.2",
"react-native-pdf": "7.0.3",
"react-native-reanimated": "~4.1.1",
diff --git a/package.json b/package.json
index 1dccd354..d82e7950 100644
--- a/package.json
+++ b/package.json
@@ -43,8 +43,7 @@
],
"patchedDependencies": {
}
}
}
diff --git a/patches/[email protected] b/patches/[email protected]
deleted file mode 100644
index 3c89df43..00000000
--- a/patches/[email protected]
+++ /dev/null
@@ -1,31 +0,0 @@
-diff --git a/android/src/main/java/com/reactnativekeyboardcontroller/extensions/View.kt b/android/src/main/java/com/reactnativekeyboardcontroller/extensions/View.kt
-index 8cf1ff5..30ec8e3 100644
---- a/android/src/main/java/com/reactnativekeyboardcontroller/extensions/View.kt
-+++ b/android/src/main/java/com/reactnativekeyboardcontroller/extensions/View.kt
-@@ -76,7 +76,12 @@ fun View.replaceStatusBarInsets(
- val sysBars = insets.getInsets(WindowInsetsCompat.Type.systemBars())
- val navBars = insets.getInsets(WindowInsetsCompat.Type.navigationBars())
- val ime = insets.getInsets(WindowInsetsCompat.Type.ime())
-- val adjustedTop = if (isStatusBarTranslucent) 0 else sysBars.top
-+ // Always pass through the real status bar inset so downstream native views
-+ // (e.g. react-native-screens' CustomToolbar) can apply proper padding.
-+ // The content margin in setupWindowInsets() already handles the layout offset
-+ // (0 when translucent, sysBars.top when not).
-+ // Upstream issue: https://github.com/kirillzyusko/react-native-keyboard-controller/issues/1013
-+ val adjustedTop = sysBars.top
- // pick bottom: use IME if present, otherwise nav bar bottom (respect translucency)
- val bottomFromImeOrNav = if (ime.bottom > 0) ime.bottom else navBars.bottom
- val adjustedInsets =
-@@ -91,9 +96,11 @@ fun View.replaceStatusBarInsets(
- } else {
- val defaultInsets = ViewCompat.onApplyWindowInsets(this, insets)
-
-+ // Always pass through the real status bar inset (see comment above)
-+ // Upstream issue: https://github.com/kirillzyusko/react-native-keyboard-controller/issues/1013
- return defaultInsets.replaceSystemWindowInsets(
- defaultInsets.systemWindowInsetLeft,
-- if (isStatusBarTranslucent) 0 else defaultInsets.systemWindowInsetTop,
-+ defaultInsets.systemWindowInsetTop,
- defaultInsets.systemWindowInsetRight,
- defaultInsets.systemWindowInsetBottom,
- )
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 71c32dad..39de1bdf 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -8,9 +8,6 @@ patchedDependencies:
hash: 7nc6rwxl5vjub4hxnqupqavqpi
path: patches/[email protected]
- hash: mll5oyhkqm56zxzq7xq7wr3qeu
- path: patches/[email protected]
hash: kvggi4abfe6iel7wt6iiemonyq
path: patches/[email protected]
@@ -438,8 +435,8 @@ importers:
specifier: ^0.2.2
react-native-keyboard-controller:
- specifier: ^1.21.0
+ specifier: ^1.21.5
react-native-markdown-display:
specifier: ^7.0.2
@@ -795,7 +792,7 @@ importers:
version: 3.4.1
vite-tsconfig-paths:
specifier: ^6.1.1
vitest:
specifier: ^3.2.4
@@ -1336,7 +1333,7 @@ importers:
version: 6.4.17
vite-tsconfig-paths:
specifier: ^6.1.1
vitest:
specifier: ^3.2.4
@@ -11557,6 +11554,9 @@ packages:
resolution: {integrity: sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==}
+ resolution: {integrity: sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==}
+
resolution: {integrity: sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==}
engines: {node: '>=4'}
@@ -14123,8 +14123,8 @@ packages:
react: '*'
react-native: '*'
- resolution: {integrity: sha512-j1bS2ZKo+ahexnhTYJ+GxXWeMHUylY7AM0h3i0y+XgxcCHW05DpJJQcSvMCmDtMrMhRUtalLZRDCGvuh/aUPZQ==}
+ resolution: {integrity: sha512-wxR+vpJ+2g6QMQCP1mRQKySDUietf5xLntZ76cUNHOGsjyqk6LtznXwHBG9YsR9E/b2IrHXISylwqPnIit6Y6A==}
peerDependencies:
react: '*'
react-native: '*'
@@ -14911,8 +14911,8 @@ packages:
resolution: {integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==}
- resolution: {integrity: sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==}
+ resolution: {integrity: sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw==}
resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
@@ -20164,7 +20164,7 @@ snapshots:
fs-extra: 11.3.4
joi: 17.13.3
js-yaml: 4.1.1
- lodash: 4.17.23
+ lodash: 4.18.1
tslib: 2.8.1
transitivePeerDependencies:
- '@swc/core'
@@ -20222,7 +20222,7 @@ snapshots:
gray-matter: 4.0.3
jiti: 1.21.7
js-yaml: 4.1.1
- lodash: 4.17.23
+ lodash: 4.18.1
micromatch: 4.0.8
p-queue: 6.6.2
prompts: 2.4.2
@@ -20300,7 +20300,7 @@ snapshots:
'@emotion/[email protected]':
dependencies:
'@babel/helper-module-imports': 7.27.1
- '@babel/runtime': 7.29.2
+ '@babel/runtime': 7.28.4
'@emotion/hash': 0.9.2
'@emotion/memoize': 0.9.0
'@emotion/serialize': 1.3.3
@@ -25184,7 +25184,7 @@ snapshots:
dependencies:
- '@babel/runtime': 7.29.2
+ '@babel/runtime': 7.28.4
cosmiconfig: 7.1.0
resolve: 1.22.10
@@ -26552,7 +26552,7 @@ snapshots:
dependencies:
- '@babel/runtime': 7.29.2
+ '@babel/runtime': 7.28.4
csstype: 3.2.3
@@ -29323,6 +29323,8 @@ snapshots:
+
dependencies:
chalk: 2.4.2
@@ -30144,8 +30146,8 @@ snapshots:
dependencies:
'@babel/core': 7.26.0
- '@babel/generator': 7.29.1
- '@babel/template': 7.28.6
+ '@babel/generator': 7.28.5
+ '@babel/template': 7.27.2
'@babel/traverse': 7.29.0
flow-enums-runtime: 0.0.6
nullthrows: 1.1.1
@@ -30166,7 +30168,7 @@ snapshots:
dependencies:
'@babel/core': 7.26.0
- '@babel/generator': 7.29.1
+ '@babel/generator': 7.28.5
'@babel/parser': 7.29.2
'@babel/types': 7.29.0
flow-enums-runtime: 0.0.6
@@ -32773,7 +32775,7 @@ snapshots:
react: 19.2.3
react-native: 0.81.5(@babel/[email protected])(@types/[email protected])([email protected])
dependencies:
react: 19.2.3
react-native: 0.81.5(@babel/[email protected])(@types/[email protected])([email protected])
@@ -33119,7 +33121,7 @@ snapshots:
dependencies:
cookie: 1.1.1
react: 19.2.3
- set-cookie-parser: 2.7.1
+ set-cookie-parser: 2.7.2
optionalDependencies:
react-dom: 19.2.3([email protected])
optional: true
@@ -33999,7 +34001,7 @@ snapshots:
optional: true