diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-02 12:14:01 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-03 14:24:54 +0200 |
| commit | 6ebfc86392a74dc0ae18f0d2703a3f91b8977d46 (patch) | |
| tree | 99cf5d8b2939a9cf3af16fe4258186e9d78ed7ce /packages/meshbay-android/README.md | |
| parent | 4e33fca55e48bbf6233e950355d31c603d88a6e6 (diff) | |
| download | meshbay-6ebfc86392a74dc0ae18f0d2703a3f91b8977d46.tar.gz | |
feat(android): client shell with the interface from the package
WebView over the packaged UI (copied from hub/static at build time), the
desktop CSP as a header, a bridge answering our top-level document only,
hub calls from native to the signed-in hub. Keys stay in the page for now.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-android/README.md')
| -rw-r--r-- | packages/meshbay-android/README.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/meshbay-android/README.md b/packages/meshbay-android/README.md new file mode 100644 index 0000000..8c357fe --- /dev/null +++ b/packages/meshbay-android/README.md @@ -0,0 +1,22 @@ +# MeshBay — Android client + +A client, not a host: no node runs on a phone (`docs/MESHBAY_DESIGN.md` §11.3). + +The shell is a system WebView showing the interface **from the package** — +`meshbay-hub/src/meshbay_hub/static/` copied at build time into +`build/generated/`, never committed (§8.3) — with a bridge +(`app/src/main/assets/bridge/meshbay-bridge.js`) that offers the page the same +`window.meshbay` as the desktop preload, wherever it offers anything at all. +Hub calls leave from native code, to the signed-in hub only. + +```bash +# needs JDK 17+ and an Android SDK (ANDROID_HOME, or sdk.dir in local.properties) +./gradlew assembleDebug # app/build/outputs/apk/debug/app-debug.apk +./gradlew testDebugUnitTest # JVM unit tests +``` + +The security contract is also pinned from the Python suite by reading this +source: `packages/meshbay-hub/tests/test_android_shell.py`. + +Not built yet: native keys, downloads to disk, casting, phone-specific +behaviour (back button, network handover), signed releases. |