Android Client
The Capacitor client lives in capacitor/ and uses the application ID com.aozorae.edgechat.web. Vue owns sign-in, conversations, admin pages, realtime messages, and media UI. A small Kotlin plugin handles Android file selection, microphone and notification permission, opening the matching room from a notification, and delegating external links to the system.
Installation and Connection
- Download
edgechat-*.apkfrom GitHub Releases. - Verify it against
SHA256SUMS.txt. - Allow installation from the browser or file manager when Android asks.
- On the sign-in screen, enter the EdgeChat HTTPS origin, username, and password.
- After validation, the client stores that instance and uses it for HTTP, attachments, and WebSocket traffic.
The APK bundles only local web assets and is not tied to one deployment. Users can edit the origin after signing out; switching instances clears the previous token. Web assets and the Android Manifest are embedded in the APK, so frontend or permission changes require a newly built package.
Platform Features and Limits
- Files use the Storage Access Framework without broad storage permission
- Android 13 and newer request notification permission when the user enables notifications
- The first recording waits for microphone permission; the wait can be cancelled and is cancelled when the app moves to the background
- After denying microphone access, restore it in
Settings > Apps > EdgeChat > Permissions > Microphone, then retry - The client reuses browser session storage and the frontend realtime flow; it has no Room offline database, WorkManager outbox, or FCM
- Instant background notifications are not guaranteed when the app stops receiving messages
Local Build
Use JDK 21 and Android SDK 36:
npm ci
npm run build:capacitorThe Debug APK is written to capacitor/android/app/build/outputs/apk/debug/app-debug.apk. GitHub Capacitor Android CI builds the same generic APK and uploads the edgechat-capacitor-debug artifact.
Signed Releases
Push an android-v* tag or run GitHub Android Release manually. The workflow reads the four ANDROID_KEYSTORE_* Secrets, bundles the current Vue frontend into a signed APK and AAB, and creates SHA256SUMS.txt. The signing keystore controls future upgrade installation and must be backed up offline. Never commit signing.properties, a keystore, or its passwords.
Legacy Client
The legacy Jetpack Compose client has been retired. The server continues to provide /api/v1.