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.
30 lines
410 B
Plaintext
30 lines
410 B
Plaintext
# Local headless Android toolchain & caches
|
|
.toolchain/
|
|
.gradle/
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
.venv/
|
|
*.db
|
|
*.db-journal
|
|
*.sqlite3
|
|
.env
|
|
|
|
# Android / Gradle
|
|
android/.gradle/
|
|
android/local.properties
|
|
android/build/
|
|
android/app/build/
|
|
android/.idea/
|
|
*.iml
|
|
hub/releases/*.apk
|
|
hub/releases/latest.json
|
|
hub/web/node_modules/
|
|
hub/app/admin/dist/
|
|
android/vendor-builder/node_modules/
|
|
|
|
# OS / Editors
|
|
.DS_Store
|
|
*.swp
|