2 Commits
Author SHA1 Message Date
jmj 14e27a4f16 fix(android): load WebView pages over http to avoid mixed content
Pages are hosted on appassets.androidplatform.net and the in-page
requests target the hub over http://192.168.1.111:8765. Because the
pages were loaded over https, Chromium blocked those http requests
under the mixed content policy before they ever hit the network,
which surfaced as immediate ERR_ABORTED failures.

Switch the page scheme to http so the page is served from an insecure
context. Mixed content rules are directional: an http page may load
https subresources, so both the http hub (8765) and the https hub
(8766) remain reachable.

WebViewAssetLoader only accepts the http scheme when explicitly
enabled, so also call setHttpAllowed(true). Without it
PathMatcher.match() returns null for http URIs, the request escapes
interception and is treated as a real network request to
appassets.androidplatform.net, leaving a blank page with no error log.

Also raise the default versionCode/versionName to 34 / 0.3.4 so a
build without -PpwVersionCode no longer regresses to 1 / 0.1.0 and
triggers a spurious downgrade.
2026-11-30 08:41:47 +08:00
jmj c037b43f4a Initial commit: PulseWall hub, Android app, and protocol docs
- hub: FastAPI backend (MCP server, ADB LAN controller, bridge, storage)
- hub/web: Vue 3 admin console (device manager, screen mirror, chat workbench)
- android: Kotlin shell app with WebView stage, OTA, telemetry, keep-alive
- protocol: architecture, MCP schema, and WebSocket protocol specs
2026-11-30 07:37:34 +08:00