The old download page asked for a password and is no longer used. The app now reads version.json and fetches UBGitea.apk from the apk branch. Agent: main (opus) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.2 KiB
2.2 KiB
TASK-070: The app's update check and download use the team's Gitea
Status: implemented; required checks pass; not yet seen on a device Owner: Claude Reviewer: human product owner
Request
The update notice in the app opened the old download page, which asks for a password. The product owner no longer uses that page (2026-10-12) and asked for the app to use the Gitea link instead.
Outcome
- The app reads the newest version from
version.jsonon theapkbranch ofRobotAutomationDevelopment-Dept/Ubisam-MobileGit, and "download" opensUBGitea.apkon that branch. Neither asks for a password or a sign-in. - The wording no longer mentions a password or a download page.
Scope
- Included: the two addresses, the wording,
version.jsonon theapkbranch. - Excluded:
tools/publish-download.pyand thechoimy0204.github.io/ubgitea/page. Both are left as they are and are no longer part of publishing.
Writable paths
app/src/main/java/com/ubisam/ubgitea/core/update/AppUpdate.ktapp/src/main/java/com/ubisam/ubgitea/MainActivity.ktapp/src/main/res/values/strings_update.xmltasks/070-update-from-gitea.mddocs/development-log.md
Acceptance criteria
- No address of the old page is left in the app.
version.jsonis on theapkbranch and names the APK that is there.- Seen on a device: the notice appears for a newer build and "download" fetches the APK.
Security and privacy
The two addresses are public and are fetched with a client that carries no Gitea token. The repository being public was the product owner's choice in TASK-067.
Publishing a build from now on
- Raise
versionCodeandversionNameinapp/build.gradle.kts, thenassembleDebug. - On the
apkbranch, replaceUBGitea.apkand setversion.jsonto the same version. - Push the
apkbranch.
Copies installed before this task still read the old page's version.json, so they are never told
about a build published here; they need one install by hand from the Gitea link.
Required checks
./gradlew compileDebugKotlin compileDebugUnitTestKotlin testDebugUnitTest assembleDebug lintDebug
Evidence
See the development log entry for TASK-070.
Review findings
None yet.