Release 0.3.16: generated Android apps shippable to Play out of the box#20
Merged
Merged
Conversation
The android/app/build.gradle template was missing three things every release build needs (all found shipping a real app to Play): - useLegacyPackaging true — AGP defaults release bundles to extractNativeLibs =false, but the BEAM dlopens lib<app>.so by path + execs inet_gethost/epmd, so libs must be extracted. Without it the app crashes on launch on a Play-installed split. Debug builds default true, masking it. - release signingConfigs from keystore.properties wired into buildTypes.release (else the AAB is unsigned and Play rejects it). - compileSdk/targetSdk 34 -> 35 (Play's floor for new apps/updates). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
android/app/build.gradletemplate was missing three things every release build needs — all hit while shipping a real generated app to the Play Store:useLegacyPackaging true(newpackagingOptions { jniLibs }block). AGP defaults release App Bundles toextractNativeLibs=false, but the BEAMdlopenslib<app>.soby absolute path + execsinet_gethost/epmd, so the libs must be extracted to the filesystem. Without it: crash on launch on a Play-installed split (dlopen … library not found). Debug builds default totrue, which masked it.signingConfigsfromkeystore.properties(generated bymix mob.setup.google_play), wired intobuildTypes.release— else the AAB is unsigned and Play rejects it.compileSdk/targetSdk34 → 35 — Play's floor for new apps/updates.184/186 tests pass; the 2 failures are pre-existing env-only (
local: trueneeds amob/sibling) and unrelated (they're inresolve_deps, not build.gradle rendering).🤖 Generated with Claude Code