Update check fix — beta.7 still had a problem
Thanks for testing. Beta.7 improved the updater, but it still failed on your
network for a different reason:
api.github.comkept returning HTTP 503/504.- The Atom-feed fallback then failed because
github.comitself could not be
resolved (Unable to resolve host "github.com"), and later returned 502 /
connection aborted.
So beta.7 could still not check for updates when both GitHub’s API and website
were unavailable. Beta.8 adds a source that does not depend on either of them.
Fixed
- Update checks now read the
CHANGELOG.mdserved by
raw.githubusercontent.comfirst. That host is separate from
api.github.comandgithub.com. - If raw GitHub is unavailable, the check falls back to the GitHub API and then
to the release Atom feed. - Release notes and the APK URL are reconstructed from the changelog when the
API is unavailable. - The HTTP/1.1, retry, Open release page, and Shizuku fork fixes from
beta.6/beta.7 remain in place.
Testing
- 20/20 emulator tests pass.
- A live emulator check succeeded through raw GitHub in about 1.2 seconds
while the GitHub API was returning 504 andgithub.comwas unavailable. - The WordPress test APK downloaded with the matching SHA-256 and installed
successfully.
Important
This fixes checking for updates. Downloading still uses GitHub release
assets. If github.com is unreachable at download time, the update screen
offers Open release page so the APK can be installed manually.
GitHub’s raw CDN can cache the changelog for a few minutes, so a brand-new
release may take a short while to appear.
SHA-256: 5c4dfbb1a494ea54b8ad07161aa90c8e203c0fd13a31e510f372e15dba5c2304