Ver V0.1.16 Add Android version to project
This commit is contained in:
@@ -8,6 +8,17 @@ The Electron app runs in its own window. With Node.js installed, run `npm instal
|
||||
|
||||
The `.github/workflows/desktop-build.yml` workflow builds both Windows and Linux artifacts on their native GitHub-hosted runners when manually started from the Actions tab.
|
||||
|
||||
## Android app
|
||||
|
||||
The Android app reuses the web interface in a Capacitor shell and implements mail, DAV, secure account storage, and background sync with native Android services. Install Node.js, Android Studio with the Android SDK, and JDK 21. Set `JAVA_HOME` and `ANDROID_HOME` if they are not configured by Android Studio, then run:
|
||||
|
||||
```sh
|
||||
npm install
|
||||
npm run android:apk
|
||||
```
|
||||
|
||||
The debug APK is written to `android/app/build/outputs/apk/debug/app-debug.apk`. Install it on a connected test device with `adb install -r android/app/build/outputs/apk/debug/app-debug.apk`, or open the project in Android Studio with `npm run android:open`. The first account enables a visible, ongoing foreground-service notification while IMAP IDLE checks for new mail; Android also runs a network-constrained periodic reconciliation. Android may delay or stop background activity after force-stop, prolonged device restrictions, or vendor battery management.
|
||||
|
||||
## Run on Windows or Linux
|
||||
|
||||
Install Python 3, open a terminal in this folder, and run:
|
||||
|
||||
Reference in New Issue
Block a user