github Leadaxe/LxBox v2.20.10
LxBox v2.20.10

latest releases: v2.25.22, v2.25.22-rc.2, v2.25.22-rc.1...
3 months ago

L×Box v2.20.10

On first launch the app now asks whether it may check GitHub for new versions.
Until you answer, it does not go online for that — no matter where you
installed it from. Previous versions guessed by the installer package, and that
guess was wrong for most F-Droid clients.

При первом запуске приложение спрашивает, можно ли проверять новые версии на
GitHub. Пока вы не ответите, оно за ними в сеть не ходит — откуда бы ни было
установлено. Прошлая версия угадывала по установщику, и для большинства
клиентов F-Droid угадывала неверно.

🇬🇧 English

🔧 Under the hood

The update check now asks instead of guessing. v2.20.9 gated the background
check on the installer package: if F-Droid had installed the app, the check
never ran. F-Droid's maintainer pointed out the flaw the same day:

There are many other F-Droid clients. You can add an onboarding screen for
the update checker.

He was right. The gate recognised three packages — the official client, F-Droid
Basic and Droid-ify. Neo Store, F-Droid Classic, Aurora and whatever ships next
all fell through to "sideload" and switched the check back on. Keeping that list
current forever is not a solution.

So the guessing is gone. A prompt joins the first-run sequence, right after the
notification, battery and quick-tile steps:

Check for updates?
L×Box can ping github.com once a day to see whether a new version is out.
Nothing installs by itself — you get a link to the release page.

If you installed from an app store, its client already handles updates and
you can skip this.

The stored default flipped to off, which is the part that actually matters:
until the prompt is answered, the app makes no release request at all. Existing
installs keep whatever they had — the setting is only written by the prompt.

The install source survives as one thing only: which button reads as the
default. From a store client the dialog leads with "Skip", from a sideload with
"Enable". Getting that wrong is now harmless, since your answer decides either
way.

The "Check for updates on launch" switch in App Settings is visible on every
channel again, and "Check now" was never affected — an explicit tap is not a
background call home.

🧪 Tests

flutter analyze, 3016 tests and all four l10n checkers pass. Both branches of
the prompt were checked on a device.

🇷🇺 Русский

🔧 Под капотом

Проверка обновлений теперь спрашивает, а не угадывает. В v2.20.9 фоновая
проверка гасилась по пакету установщика: поставил F-Droid — проверка не идёт.
Мейнтейнер F-Droid в тот же день указал на изъян:

There are many other F-Droid clients. You can add an onboarding screen for
the update checker.

Он прав. Гейт знал три пакета — официальный клиент, F-Droid Basic и Droid-ify.
Neo Store, F-Droid Classic, Aurora и всё, что выйдет завтра, проваливались в
«sideload» и включали проверку обратно. Вечно догонять этот список — не решение.

Поэтому угадывание убрано. В цепочку первого запуска добавился вопрос — сразу
после шагов про уведомления, батарею и плитку:

Проверять обновления?
L×Box может раз в сутки обращаться к github.com и смотреть, не вышла ли новая
версия. Само ничего не устанавливается — вы получите ссылку на страницу
релиза.

Если приложение установлено из магазина, его клиент уже следит за
обновлениями, и этот пункт можно пропустить.

Дефолт настройки перевёрнут в выключено — и это главное: до ответа
приложение вообще не делает запросов за релизами. У тех, кто уже пользуется
приложением, значение сохраняется — настройку пишет только этот диалог.

От канала установки осталось одно: какая кнопка выглядит основной. Из магазина
диалог предлагает «Пропустить», при ручной установке — «Включить». Ошибка тут
теперь безобидна, решает всё равно ваш ответ.

Переключатель «Проверять обновления при запуске» в настройках снова виден на
всех каналах, а «Check now» и не затрагивался — явное нажатие не фоновый поход
в сеть.

🧪 Тесты

flutter analyze, 3016 тестов и все четыре l10n-чекера проходят. Обе ветки
диалога проверены на устройстве.


Install / Установка

adb install -r LxBox-v2.20.10-arm64-v8a.apk

Без uninstall! Поверх существующей установки. Настройки и подписки сохранятся.

No uninstall needed — install over the existing one. Settings and
subscriptions are preserved.


Previous release / Предыдущий релиз: v2.20.9.

Don't miss a new LxBox release

NewReleases is sending notifications on new releases.