From 24b61c2411bcea3e8f10e872c6f2c4710324a43b Mon Sep 17 00:00:00 2001 From: Duarte Santos Date: Sun, 23 Aug 2026 21:08:54 +0200 Subject: [PATCH] Den signierten APK auf GitLab legen und von README und MOBILE.md verlinken Bis die Release-Pipeline laeuft, gab es auf GitLab keinen APK zum Laden. Der aktuelle signierte Build (1.2.8, derselbe, den die Website ausliefert) liegt jetzt in der Generic Package Registry unter opengym-android/1.2.8/ - genau dem Pfad, den der build:apk-Job spaeter selbst befuellt. Daneben die .sha256: sideloaden heisst, dass niemand die Datei fuer dich geprueft hat. Anonym ladbar, ohne Login - nachgerechnet, die Pruefsumme des heruntergeladenen Exemplars stimmt mit der lokalen ueberein. --- README.md | 6 ++++-- docs/MOBILE.md | 14 ++++++++++---- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bb84e09..88e9664 100644 --- a/README.md +++ b/README.md @@ -126,8 +126,10 @@ no backend — everything stays on the phone, with native workout-day reminders backups. Self-hosting gets you multi-device sync and profiles for friends & family; the mobile app is the install-and-done flavor. -- **Android:** [**download the APK**](https://opengym.duarte-santos.ch) and sideload it — - openGym is deliberately not on the Play Store. Or build it yourself: **[docs/MOBILE.md](docs/MOBILE.md)**. +- **Android:** [**download the APK**](https://opengym.duarte-santos.ch) — or straight from + [GitLab's package registry](https://gitlab.com/DuarteSantos8/opengym/-/packages), where every + build sits next to its `.sha256` — and sideload it; openGym is deliberately not on the Play + Store. Or build it yourself: **[docs/MOBILE.md](docs/MOBILE.md)**. - **iPhone:** Apple doesn't allow installing apps outside the App Store, so there is no iOS download. Self-host and add it to your home screen from Safari (it's a full PWA), or build the native app onto your own device from Xcode — see **[docs/MOBILE.md](docs/MOBILE.md)**. diff --git a/docs/MOBILE.md b/docs/MOBILE.md index fcf4173..4aeeb10 100644 --- a/docs/MOBILE.md +++ b/docs/MOBILE.md @@ -61,11 +61,17 @@ accounts, no store rules, no yearly fees between you and an open-source app. ### Android — sideload the APK -The official signed APK is at **[opengym.duarte-santos.ch](https://opengym.duarte-santos.ch)** -and, for every release, on the -**[GitLab releases page](https://gitlab.com/DuarteSantos8/opengym/-/releases)**. +The official signed APK is in three places, all the same file: + +- **[opengym.duarte-santos.ch](https://opengym.duarte-santos.ch)** — the download page. +- **[GitLab's package registry](https://gitlab.com/DuarteSantos8/opengym/-/packages)** — every + build under `opengym-android//`, with a `.sha256` beside it. Direct link, no login: + `https://gitlab.com/api/v4/projects/85678327/packages/generic/opengym-android//openGym-.apk` +- **[The GitLab release](https://gitlab.com/DuarteSantos8/opengym/-/releases)** for that version, + which links to the two above. + Android asks you to allow installs from the browser the first time — that's standard for any -app outside the Play Store. +app outside the Play Store. Check the `.sha256` if you got the file from anywhere else. Both come out of CI: the `build:apk` job in [`.gitlab-ci.yml`](../.gitlab-ci.yml) runs `npm run build:mobile` and `./gradlew assembleRelease`, then `zipalign`s and signs the result