fuzzyworld

haunt / commit

Allow cleartext HTTP for Hue Bridge on local network

cce3b9430320133154a42e9f3215f5b42e249b6b · Pavel Safronov · 2026-05-13 13:24:01 -0700 · parents 64e9d8e61931

Allow cleartext HTTP for Hue Bridge on local network

Android 9+ blocks HTTP by default. The Hue Bridge API is HTTP-only on
LAN — there is no HTTPS option, so cleartext must be permitted app-wide.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
 app/src/main/AndroidManifest.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index beff27d..579bd77 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -14,7 +14,8 @@
         android:allowBackup="true"
         android:label="@string/app_name"
         android:supportsRtl="true"
-        android:theme="@style/Theme.Haunt">
+        android:theme="@style/Theme.Haunt"
+        android:usesCleartextTraffic="true">
 
         <activity
             android:name=".MainActivity"