about summary refs log tree commit diff
path: root/patches/expo-modules-core+2.2.3.patch
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-04-07 20:29:41 -0500
committerGitHub <noreply@github.com>2025-04-07 18:29:41 -0700
commit872fcd1d20e2e3981eca77190b3eaa380b9aca76 (patch)
treec88c383a256699cbc4c775eb1735937e70273f2c /patches/expo-modules-core+2.2.3.patch
parentd496b5bdbff64b02baf00654c3a82bfe7153bf77 (diff)
downloadvoidsky-872fcd1d20e2e3981eca77190b3eaa380b9aca76.tar.zst
Update patches (#8151)
* Update patches after #8133

* Bump deps

* Revert @react-native-picker/picker downgrade

* Migrate RN patch
Diffstat (limited to 'patches/expo-modules-core+2.2.3.patch')
-rw-r--r--patches/expo-modules-core+2.2.3.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/patches/expo-modules-core+2.2.3.patch b/patches/expo-modules-core+2.2.3.patch
new file mode 100644
index 000000000..f3d9bfd14
--- /dev/null
+++ b/patches/expo-modules-core+2.2.3.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