Repository navigation
Why did I learn about a substitution or new homework late? #500
|
The class admin added a substitution in the bot in the evening, and my phone showed it only much later. New homework did not trigger any alert at all. Is something broken? |
Replies: 1 comment
|
The server's The server does not push changes: the phone polls once an hour by default. A substitution reaches the app, the widget and the «Замены и отмены» alert only at the next successful sync.
More: https://github.com/lumenpearson/lessons/blob/main/docs/guide.md#notifications and https://github.com/lumenpearson/lessons/blob/main/docs/bot.md#day-to-day-editing |
The server's
WatchClassstream tells a phone the moment its class changes, but it runs only on the host target withLESSONS_STREAMINGon, not on Vercel. No APK uses v2 yet (#273).The server does not push changes: the phone polls once an hour by default. A substitution reaches the app, the widget and the «Замены и отмены» alert only at the next successful sync.
Poll more often: «Настройки → Синхронизация → Как часто обновлять» offers 15 or 30 minutes, or 1, 3, 6 or 12 hours; 15 minutes is Android's lower limit for background work, and a sync needs a network.
Fetch now: pull down on «Сегодня», or press «Обновить сейчас».
What the app alerts on: «Замены и отмены» compares only today a…