From eccaf2b92757ac48fb3962a8c6d8ef1e5abe8900 Mon Sep 17 00:00:00 2001 From: mallafix <132978128+mallafix@users.noreply.github.com> Date: Tue, 7 Jul 2026 20:53:00 +0200 Subject: [PATCH] Declare ACCESS_LOCAL_NETWORK permission for local homeservers on Android 17 Since the targetSdk was raised to 37, Android enforces the new local network protections. Without declaring ACCESS_LOCAL_NETWORK the system silently drops all traffic to homeservers on private addresses and users cannot even grant the permission manually (no toggle is shown). Declaring the permission makes the 'Nearby devices' toggle available so affected users can allow local network access. Fixes element-hq/element-x-android#7073 Signed-off-by: mallafix --- libraries/matrix/api/src/main/AndroidManifest.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/matrix/api/src/main/AndroidManifest.xml b/libraries/matrix/api/src/main/AndroidManifest.xml index 608f16cc365..46b95667e00 100644 --- a/libraries/matrix/api/src/main/AndroidManifest.xml +++ b/libraries/matrix/api/src/main/AndroidManifest.xml @@ -8,5 +8,7 @@ + +