diff --git a/README.md b/README.md index 81a2a89..09cab31 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ In the app: - Open the `Update` page and tap `APK` to resolve the APK from the selected update source and open it in a browser. - Open the `Update` page and tap `Details` to see the installed version, - selected update source, APK URL, install permission state, and a `Check - update` button. + selected update source, APK/Release resolver behavior, install permission + state, and a `Check update` button. - Open the `About` page to see the app version, package name, API/protocol - summary, and update policy. + summary, selected update source, and update policy. diff --git a/app/src/main/java/com/neatstudio/tmuxandroid/MainActivity.java b/app/src/main/java/com/neatstudio/tmuxandroid/MainActivity.java index ea63bcf..ca2210a 100644 --- a/app/src/main/java/com/neatstudio/tmuxandroid/MainActivity.java +++ b/app/src/main/java/com/neatstudio/tmuxandroid/MainActivity.java @@ -343,11 +343,13 @@ public final class MainActivity extends Activity { content.addView(infoBlock( "Protocol", "API base: " + getServerUrl() + "\n" - + "HTTP API on port 3000; terminal input/output uses the app's native socket client." + + "HTTP on port 3000: /api/health, /api/sessions, session actions, kanban, messages, images.\n" + + "WebSocket: /ws/terminal uses attach/input/resize/scroll/clear-history; /ws/events streams session and hook events." )); content.addView(infoBlock( "Update policy", - "The app checks only the selected update source. APK downloads are cached by version and reused after Android install permission is granted." + "Selected source:\n" + prefs.getString("update_url", BuildConfig.DEFAULT_UPDATE_URL) + "\n" + + "The app checks only this source. APK downloads are cached by version and reused after Android install permission is granted." )); content.addView(actionPanel( actionButton("Release page", view -> updateManager.openReleasePage()), @@ -1186,7 +1188,7 @@ public final class MainActivity extends Activity { text.append("Tap Release on the About page. The app resolves the page from the selected update source.\n"); text.append('\n'); text.append("In-app update:\n"); - text.append("Tap Update. The app checks only the selected source, downloads one APK per version, verifies SHA-256, then opens Android's installer.\n"); + text.append("Tap Check now on the Update page. The app checks only the selected source, downloads one APK per version, verifies SHA-256, then opens Android's installer.\n"); text.append("Selected manifest:\n") .append(prefs.getString("update_url", BuildConfig.DEFAULT_UPDATE_URL)) .append('\n'); diff --git a/docs/android-client-notes.md b/docs/android-client-notes.md index 7c89cd4..4e2ebe0 100644 --- a/docs/android-client-notes.md +++ b/docs/android-client-notes.md @@ -89,7 +89,8 @@ Implemented now: - one-download-per-version APK cache, SHA-256 verification, and installer handoff - permission/about surfaces for unknown-app install status, notification status, - app version, package name, and API/protocol summary + app version, package name, selected update source, and HTTP/WebSocket + API/protocol summary ## Update And Release Policy