Repository navigation
Will my server, and the APKs already on phones, keep working when the app moves to API v2? #573
|
I run a server, and families have an APK I built. The project is moving to API v2. What do I need to do, and in what order, so that nobody's app stops working? |
Replies: 1 comment
|
Yes, for now: at The plan under #273 has three steps, in this order:
After step 3, an APK from before v2 gets Before you move your server past the commit that deletes v1:
Some paths stay where they are: the Telegram webhook, the tick, the calendar feed, the diary's sign-in page ( Where each part runs:
More: docs/api.md, v2: the contract, the one-contract design. |
Yes, for now: at
4c93edb4(18 October 2026) the server serves v1 and v2 side by side, v1 unchanged, and every APK (yours included) calls only v1. An update to currentmainbreaks no installed APK.The plan under #273 has three steps, in this order:
After step 3, an APK from before v2 gets
404from every v1 path and can neither join a class nor sync.MIN_CLIENT_VERSIONcannot warn those phones, because old APKs never send theX-Lessons-Clientheader.Before you move your server past the commit that deletes v1:
/project,…