oka_android 0.13.2
oka_android: ^0.13.2 copied to clipboard
Android platform pipelines for oka: no-Gradle Flutter APK/AAB build steps, plugin packaging, direct Android SDK toolchain (aapt2, d8, apksigner), and typed manifest/spec values.
0.13.2 #
Patch Changes #
- Release-train smoke cut, part 2: explicit patch bumps for the 12
published packages the core cascade does not reach. The engine's
dependent cascade is constraint-driven — caret constraints absorb a
patch bump of
oka_core, so dependents are skipped by design (if (constraint.allows(newVersion)) continue;). A full-train smoke needs every package declared explicitly. Union withtrain-smoke-patterns.mdcovers all 17 published packages; the three unpublished ones (oka_devices,oka_dart_kernel,oka_verify) stay out — they have no pub.dev automated-publishing config yet.
0.13.0 #
Minor Changes #
-
Identity + law hardening (2026-11-22 review wave):
oka_store:StoreKey.of(runtime-checked factory for dynamic boundaries — the const ctor cannot validate), the erasure caveat documented (a key IS its String at runtime), andokaStoreDefine(OKA_STORE) — the dart-define key under which a delivery variant bakes its store key into the compiled binary.oka_core:Variant.applyTonow bakesOKA_STORE=<key.name>so the store identity reaches the artifact and the app boot can verify its runtime binding matches the composition (no two-masters drift).DeliveryTarget.dartDefinescontributes nothing — the variant is the single define writer (the target-level getter remains the general ADR-0014 surface for plain targets). The dispatcher appliestransformContextBEFORE the build directory resolves, so a delivery'sbuildAablands in the same-aabdirectory convention bare--aabbuilds use, and--aabalongside a delivery warns loudly instead of being silently overridden (artifact format is composition-owned).PublishTarget.validateDeliverynow requires every parameter — a partial call can no longer silently skip the overlay legality checks. Target runs whose final step is not the artifact build still print a completion line.oka_play: the Play channel REQUIRES thegmsoverlay on deliveries (Play presumes GMS; the overlay may be an empty marker — the declaration is the contract).oka_desktop: desktop pipelines forwardctx.flavor(never silently dropped) and fail the step when flutter exits green but the expected artifact directory is missing.oka_huawei:HuaweiPublishTargetis variant-free — the channel no longer restates the build config (ADR-0055: channels publish, deliveries build); the opt-inverifyArtifactgate derives its exclusion set from the delivery context's overlays.HuaweiBuildVariantstays exported for legacy compositions.
oka_core: ADR-0055 — the delivery matrix. New
Delivery/DeliveryTarget(pipeline by const reference + variant + channel),Variant(entrypoint, defines, overlays, openStoreKey),Overlay(defines + native-dep edits),RunPipelineStep;Target.dartDefines(ADR-0014 amendment — CLI wins) andTarget.transformContext;Oka.pipelinesoptional (delivery-only projects);BuildContext.overlays;PublishTargetcapability hooks (acceptedPlatforms,acceptedArtifactFormats,requiredOverlays,prohibitedOverlays) withvalidateDeliverycomposition checks.oka_store: new leaf package — the open store-key identity (
StoreKeyextension type + validation,StoreBinding+NoopStoreBinding, well-known keys as convenience constants, no enum).oka_android: overlay native-dependency folding (
foldOverlayDependencies— the generic form of the GMS exclusion).oka_web: new
WebPipeline(validate → emit shell → flutter build web);WebBuildTarget.transformContextwires contribution dartDefines into the build (previously dead); gh-pages/itch declare platform/format capabilities.oka_desktop: new —
MacosPipeline/LinuxPipeline/WindowsPipeline(honestflutter build <desktop>delegation, delivery-ready).oka_service: new —
CommandPipeline(jaspr/dart/docker/any argv) +GitHubReleasePublishTarget(gh CLI, ambient auth) +StageFileStep.Store channels declare capabilities (Play: android/aab; RuStore: android; AppGallery: android/aab,
gmsoverlay prohibited). ADR 0055.
0.12.0 #
See packages/oka/CHANGELOG.md for train-wide release notes.
0.11.0 #
See packages/oka/CHANGELOG.md for train-wide release notes.
0.10.3 #
See packages/oka/CHANGELOG.md for train-wide release notes.
0.10.2 #
See packages/oka/CHANGELOG.md for train-wide release notes.
0.10.1 #
See packages/oka/CHANGELOG.md for train-wide release notes.
0.10.0 #
See packages/oka/CHANGELOG.md for train-wide release notes.
- Style: adjacent-string lints in
resource_ids_live_test.
0.8.1 #
- Part of the 0.8.1 train: usage-banner and doctor doc-pointer fixes in the
okaCLI; no package-specific changes in this package.
0.8.0 #
- Part of the 0.8.0 train: Dart SDK floors ^3.13.0 (extraneous
finalparameter modifiers dropped); no package-specific changes.
0.5.0 #
Fixed #
- Release builds no longer fall back to the debug
flutter.jarwhen the release jar is missing: the fallback shipped a debug JIT engine with a release AOT snapshot, producing apps that hang on the splash screen and never run Dartmain(). Missing jars triggerflutter precache --androidonce; a still-missing jar fails the build.
Changed #
- Engine artifact resolution is mode-correct: debug →
android-<abi>, profile →android-<abi>-profile, release →android-<abi>-release(engineVariantForMode,engineArtifactDirForVariant). Thereleaseboolean parameters onfindFlutterJar/extractLibflutter/extractLibflutterForAbiswere replaced by the variant string, andengineArtifactDirForAbiwas renamed toengineArtifactDirForVariant. fingerprintInputsconsumers:flutter-assembleandrelease-aotfingerprints now include path-dependency sources (pathDependencyInputs) andbuildArgs.
0.2.0 #
-
Add a composable AVD diagnostics provider with stored configuration, userdata/snapshot measurements and recorded session links.
-
Join the complete package release train with compatible
0.2.0internal dependency constraints.
0.1.6 #
- Dependency-plan dry-run (
oka explain --deps), artifact comparison gate (oka compare), single-step probe support (ADR-0007/0008). - Conditional gradle dependency dedup (if/else variants collapse to the gradle default branch).
- Deterministic packaging: sorted d8 inputs and sorted zip entry order.
- archive ^4 support.
0.1.5 #
- Package split from the oka CLI (ADR-0006).