Skip to content

docs: serve the Android demo from a release asset, not an expiring EAS link - #23

Merged
Newtdev merged 1 commit into
mainfrom
docs/android-demo-release
Sep 15, 2026
Merged

Newtdev merged 1 commit into
mainfrom
docs/android-demo-release

Conversation

@Newtdev

@Newtdev Newtdev commented Sep 15, 2026

Copy link
Copy Markdown
Owner

The problem

The README's Install the Android demo link has been broken since 2026-09-10.

It pointed at an EAS internal-distribution build. Expo keeps those artifacts 30 days; that build was made 2026-08-27, so the APK now 404s:

built   2026-08-27
expires 2026-09-10
apk     404

The build page still returns 200, so a link checker sees nothing wrong — only fetching the artifact reveals it. That link is the main call to action for anyone arriving from a launch post, so it matters more than a typical doc link.

The fix

Rebuilt from 554a96e and published the APK as a GitHub release asset — demo-android-v1. Release assets don't expire and need no Expo account.

The release notes state explicitly that this is the demo app and not an SDK release, so the repo's first tag can't be misread as "blynk-deferlink 1.0".

Verified, not assumed

Check Result
Signing cert vs. keystore 4fe3f6d5…90ac — identical, installs as an upgrade
Package dev.blynkdeferlink.demo
README's exact download URL 200, application/vnd.android.package-archive
Served size vs. built size 63,954,196 = 63,954,196
Served bytes vs. built bytes SHA-256 over the zip central directory — match

The full round-trip download exceeded the 2-minute command limit, so integrity was checked by exact size plus a hash of the archive tail, which is the region that changes if any entry differs.

Also: versionCode 1 → 2

Android refuses to install an APK over an installed one with a lower version code, and an unlisted APK has no store to enforce ordering. Equal codes still reinstall, which is why shipping 1 twice caused no trouble — but a third at 1 would have been refused.

This lives in android/app/build.gradle, not app.json: EAS ignores app.json's values outright because a native android/ directory exists, and says so in the build log. The released asset stays at code 1 — that's what was built and signed; relabelling a shipped binary would make the release misdescribe its own contents.

…S link

The README's "Install the Android demo" link pointed at an EAS
internal-distribution build. Those artifacts are kept 30 days and that one
was built 2026-08-27, so it expired on 09-10 and the APK behind it has been
returning 404 since. The build *page* still returns 200, which is why a
link check wouldn't have caught it — only fetching the artifact does.

Rebuilt from 554a96e and published it as a GitHub release asset instead
(demo-android-v1). A release asset doesn't expire and needs no Expo
account, which matters more now that this link is the main call to action
for anyone arriving from a post or article.

Same signing key as the expired build (cert SHA-256 4fe3f6d5...90ac), so it
installs over it rather than needing an uninstall. Verified the README's
exact download URL serves the built bytes: 63954196 both sides, matching
SHA-256 over the zip central directory.

Also bump versionCode 1 -> 2. Android refuses to install over an installed
APK with a lower code and there's no store to enforce ordering for an
unlisted build, so this has to climb by hand. Note it lives here and not in
app.json: EAS ignores app.json's values outright because this native
android/ directory exists.
@vercel

vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
referral-sdk-node Ready Ready Preview Sep 15, 2026 6:21pm UTC
referral-web-demo Ready Ready Preview Sep 15, 2026 6:21pm UTC

@Newtdev
Newtdev merged commit 589bb66 into main Sep 15, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant