Skip to content

fix(android): allow cleartext HTTP (Majestic panel + snapshots dead on-device)#48

Merged
keyldev merged 2 commits into
mainfrom
fix/android-cleartext-http
Jul 1, 2026
Merged

fix(android): allow cleartext HTTP (Majestic panel + snapshots dead on-device)#48
keyldev merged 2 commits into
mainfrom
fix/android-cleartext-http

Conversation

@keyldev

@keyldev keyldev commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • targetSdk 36 blocks cleartext http:// by default, silently killing every camera
    HTTP call on Android (Majestic config.json never loaded, image.jpg snapshots
    failed) while RTSP video still worked. Cameras are LAN devices with no TLS →
    usesCleartextTraffic=true.

Related

Type

  • Bug fix
  • Feature
  • Refactor / cleanup
  • Docs / CI
  • Other:

Checklist

  • Builds with 0 warnings (TreatWarningsAsErrors=true).
  • Tests pass (dotnet test); new Core logic has unit tests.
  • No layering violation — App references Core only (Infrastructure / Video / Devices wired via DI in a head).
  • Scope stays within one phase (didn't pull work from a later phase's "Не входит").
  • README / docs updated if public commands, options, or setup changed.

Platforms tested

  • Windows
  • Linux
  • macOS
  • Android
  • iOS
  • CI build only

Screenshots / notes

keyldev added 2 commits July 1, 2026 22:47
- ApplyResponsiveLayout now runs on Loaded (+ deterministic mobile fallback when
  width unmeasured), not only on SizeChanged, so the page reliably switches to
  the scrollable phone layout and the Majestic panel below the video is reachable
…n-device)

- targetSdk 36 blocks cleartext http:// by default, silently killing every camera
  HTTP call on Android (Majestic config.json never loaded, image.jpg snapshots
  failed) while RTSP video still worked. Cameras are LAN devices with no TLS →
  usesCleartextTraffic=true.
@keyldev keyldev merged commit 479b475 into main Jul 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant