b03da903d9
Lets the M7 Flutter client refuse to operate against an incompatible server (e.g., new endpoints the client depends on, breaking schema shifts). The version constant is bumped on each release where the client/server contract changes; old clients show the user a blocking "update required" modal pointed at the latest APK / TestFlight build.
7 lines
267 B
Go
7 lines
267 B
Go
package server
|
|
|
|
// MinClientVersion is the lowest mobile-client semver that this server
|
|
// accepts. Bump it when a server change requires a paired client update;
|
|
// older clients see version_too_old at /healthz and refuse to operate.
|
|
const MinClientVersion = "0.1.0"
|