Skip to content

feat: Initial support for Android .apk build artifacts - #17

Merged
samstarling merged 1 commit into
mainfrom
sam/2026-09-sam/apk-uploads-beta
Sep 21, 2026
Merged

samstarling merged 1 commit into
mainfrom
sam/2026-09-sam/apk-uploads-beta

Conversation

@samstarling

@samstarling samstarling commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Adds .apk to the artifacts semaloop build push accepts.

The API side infers platform from the uploaded file. It recognises a standalone APK by a root-level AndroidManifest.xml, so no request fields change and the generated client in internal/api needs no update. The only blocker in the CLI was validateArtifact, which rejected .apk with "not a supported iOS artifact".

Android is a limited beta, so the README keeps its iOS framing plus one line pointing people at us, and the GitHub Action's descriptions are unchanged. The only other place .apk appears is in the "unsupported extension" error, which has to name what it accepts.

Testing

New cases cover a valid APK, a directory, a non-zip, a missing manifest, an APK set, uppercase extensions, and an end-to-end push asserting the uploaded bytes equal the file on disk. Also exercised by hand against real .apk files.

The API now infers platform from the uploaded file, recognising a standalone
APK by a root-level AndroidManifest.xml, so no request fields change. The only
CLI blocker was validateArtifact, which rejected .apk outright.

Validate APKs the way we validate IPAs: open the zip and require the manifest
at the root. Archives that bundle APKs inside them (XAPK, APK sets) are caught
locally with the same guidance the API gives, saving a full upload round trip.
Push already streams files unmodified, which the API requires for APKs.

Extensions are now matched case-insensitively, since Android build pipelines
produce more varied filename casing than Xcode does.

Android support is a limited beta, so the docs keep their iOS framing and note
the beta in one line rather than advertising it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@samstarling samstarling changed the title feat: accept android .apk build artifacts feat: Initial support for Android .apk build artifacts Sep 18, 2026
@samstarling
samstarling requested a review from a team September 18, 2026 13:24
@samstarling
samstarling merged commit 5d3731e into main Sep 21, 2026
10 checks passed
semaloop-release Bot pushed a commit that referenced this pull request Sep 21, 2026
# [1.8.0](v1.7.0...v1.8.0) (2026-09-21)

### Features

* Initial support for Android .apk build artifacts ([#17](#17)) ([5d3731e](5d3731e))
@semaloop-release

Copy link
Copy Markdown

🎉 This PR is included in version 1.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants