about summary refs log tree commit diff
path: root/patches/expo-modules-core+2.1.2.patch
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-12-16 21:46:39 +0000
committerGitHub <noreply@github.com>2024-12-16 21:46:39 +0000
commit3ed237b6290c3f3d6ce143e8c63e2e888cf7b47a (patch)
tree355ab049621678c9b3462304985110d20a18098a /patches/expo-modules-core+2.1.2.patch
parent21c288272d8e72d7b7d309ba984d1f0a8c1174c5 (diff)
downloadvoidsky-3ed237b6290c3f3d6ce143e8c63e2e888cf7b47a.tar.zst
Bump more native deps (#7129)
* Undo expo modules patch

* Upgrade expo modules release

* Patch facebook/react-native#46944

* Remove explicit prebuild config dep

* Bump to rm duplicates
Diffstat (limited to 'patches/expo-modules-core+2.1.2.patch')
-rw-r--r--patches/expo-modules-core+2.1.2.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/expo-modules-core+2.1.2.patch b/patches/expo-modules-core+2.1.2.patch
new file mode 100644
index 000000000..f3d9bfd14
--- /dev/null
+++ b/patches/expo-modules-core+2.1.2.patch
@@ -0,0 +1,15 @@
+diff --git a/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/devtools/ExpoNetworkInspectOkHttpInterceptors.kt b/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/devtools/ExpoNetworkInspectOkHttpInterceptors.kt
+index 47c4d15..afe138d 100644
+--- a/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/devtools/ExpoNetworkInspectOkHttpInterceptors.kt
++++ b/node_modules/expo-modules-core/android/src/main/java/expo/modules/kotlin/devtools/ExpoNetworkInspectOkHttpInterceptors.kt
+@@ -125,6 +125,10 @@ internal fun peekResponseBody(
+ }
+ 
+ internal fun shouldParseBody(response: Response): Boolean {
++  if (response.request.url.encodedPath == "/bitdrift_public.protobuf.client.v1.ApiService/Mux") {
++    return false
++  }
++
+   // Check for Content-Type
+   val skipContentTypes = listOf(
+     "text/event-stream", // Server Sent Events