Skip to content

Ask too-old apps to update - #610

Merged
PianoNic merged 4 commits into
mainfrom
feature/609_RequiredUpdate
Nov 10, 2026
Merged

PianoNic merged 4 commits into
mainfrom
feature/609_RequiredUpdate

Conversation

@PianoNic

Copy link
Copy Markdown
Member

Summary

  • Every request to the Schuly server sends X-Schuly-App-Version (the API client, the private-mode clients, sign-in and the server probe); GitHub and other hosts get nothing.
  • /api/app minAppVersion is checked on launch and on resume (at most every 15 minutes). A missing, unreadable or "0.0.0" minimum, or no answer at all, never blocks.
  • Below the minimum, or on any 426 app_update_required, the whole app is replaced by "Bitte aktualisiere Schuly" with the installed and required version. "Aktualisieren" uses the existing updater (in-app install on Android, else the release page); "Erneut prüfen" asks /api/app again and lets the app in when it is new enough.
  • German and English strings, tests for the version compare, the 426 detection and the gate.
  • The fake API takes MIN_APP_VERSION (and MIN_APP_VERSION_426_ONLY=1 for the 426 case).

Closes #609

@PianoNic
PianoNic merged commit 9738afc into main Nov 10, 2026
3 checks passed
@PianoNic
PianoNic deleted the feature/609_RequiredUpdate branch November 10, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ask too-old apps to update

1 participant