The scenario: configuration evidence should lead to a real artifact check
Source scanning and Gradle configuration can explain which Android directories are intended for a variant. They cannot by themselves show what a packaging task produces. A release handover needs an artifact identity, build-input provenance and inspection evidence, with signing and installed behavior kept separate. This chapter follows one pinned application into a privately retained unsigned debug package.
The experiment uses a fresh fixture rather than the earlier JVM runner. It retains 593 exact pinned app and Gradle input files and adds one disclosed private init script that disables signing. The build uses offline dependency resolution and a bounded worker/heap configuration. This is a local research artifact, not a current production release, a store upload or an installed medical application.
Bind the packaging inputs to the repository revision
A Git-tree metadata preflight identifies the native Android files without reading signing material or unrelated documents. The selected fixture includes the app subtree, build configuration and wrapper inputs. A manifest records each original Git blob, SHA-256 digest and byte size. README, docs and tools are outside the packaging fixture.
The selected inputs total approximately 4.5 MB. No environment file, signing key, local SDK-properties file or provider configuration is copied. The product checkout remains read only. This provenance makes the packaging claim specific: it concerns retained inputs from the named revision, not the latest branch or an assumed match to an app currently distributed to users.
Make the unsigned override explicit
The private init script sets build-type signing configuration to null and asserts that the selected debug configuration has no signer. The process environment omits signing variables. No keystore is supplied, generated, inspected or used for the experiment. The source files themselves remain unchanged.
This override is part of the research configuration and must travel with its receipt. A successful package produced under it is not evidence that release signing is configured correctly. It also does not exercise certificate rotation, upload keys or store account access. Keeping the override visible prevents a local packaging result from being mistaken for a signed release acceptance.
Observe the build result rather than assuming cached tests imply packaging
The isolated invocation requests the debug assembly task with offline dependency resolution, two workers and a bounded JVM heap. Its retained log records the actual task result, including the package stage. This is separate from the earlier selected JUnit source-scanning run and from the configuration-only observations.
A build outcome should be accepted only against the intended inputs and task. An existing test report or a source-directory model cannot stand in for a newly produced package. Conversely, successful assembly does not demonstrate that every test, lint check, runtime path or clinical workflow passed. The experiment retains those evidence boundaries rather than treating one green task as whole-application acceptance.
Identify and hash the produced package
The inspection selects the single APK in the expected debug output directory and records its exact SHA-256 digest and byte size. Installed Android SDK tooling reads the manifest application identifier and checks the expected debug identity. The artifact stays in private research storage; it is not added to the portfolio's public asset directory or promoted to a download channel.
A hash identifies the particular bytes being discussed, not every future rebuild. Build reproducibility across machines, dependency caches and toolchain changes requires another experiment. Likewise, a manifest identifier is package metadata rather than proof of an installed application's identity, signing authority or successful connection to its intended server.
Inspect the container before making class-content claims
The inspection checks ZIP entry integrity and confirms the manifest and DEX entries are present. This establishes selected container observations before examining class definitions. It does not validate Android resources semantically, exercise native libraries or run code from the package.
The container check also does not establish that all records or configuration values are appropriate. No real patient data is used as an inspection fixture, and the APK is not published. Privacy, clinical suitability, resource correctness and runtime secret handling require their own permitted reviews. A valid archive is one artifact property, not a complete assurance result.
Compare selected mock definitions with the packaged class list
The Android SDK analyzer lists classes defined in the APK. The comparison derives selected mock-like class/object names from the pinned mock-implementation source, qualifies them with their declared packages and checks that selected set against the analyzer's defined-class output. The selected candidates are absent in this artifact, while the null-mock registry definition is present.
That is stronger evidence for these selected class names than a configuration model alone. It remains a bounded comparison: it does not search for every synthetic behavior, generated representation, resource value or remote response. The source scanner's naming rule is not an exhaustive semantic definition of mock data. The article therefore records selected class-definition observations rather than claiming universal production data isolation.
Confirm the intended unsigned boundary with the verifier
The installed SDK signature verifier reports that the artifact does not verify under its signature checks. The inspection requires the selected verifier outcome as well as a nonzero exit, so an unrelated tool failure would not satisfy the assertion. No signing command is run.
Android's primary apksigner documentation distinguishes signature verification from signing. In this experiment, the verifier result is consistent with the deliberately unsigned configuration. It does not exercise a real release certificate or prove anything about a currently distributed application's signature. No store review, update compatibility or device installation is attempted.
Keep inspection read only and preserve the receipts
The APK digest is checked again after the inspection commands and remains unchanged. Private receipts retain the source manifest, init-script boundary, build environment/log and SDK inspection results. These observations add no new cases to the programme's test counter; the prior chapter's three JUnit cases remain separately accounted.
The distinction avoids inflating a test total with every command used to inspect one artifact. The new contribution is an evidence-backed packaging scenario: exact pinned inputs, a disclosed signing override, an actual build result and selected artifact observations that can be reviewed together. It does not alter a product repository, deployment, database, signing account or application store.
Handover from local package evidence to release acceptance
A team can now take a concrete next step rather than relying on source intentions alone. Review the intended release variant, assemble it under its authorized signing process, inspect the resulting bytes and accept the required installed workflows with synthetic records. Each stage needs its own identity and receipt.
Current production version, server authorization, push delivery, camera behavior, patient-data handling, clinical suitability and operational costs remain unverified by this package experiment. The local result concerns one unsigned debug artifact. It strengthens the engineering record at the packaging boundary while preserving the work still needed before describing a signed, distributed and functioning medical application.
Compare the reviewed boundaries
One artifact has a bounded, reviewable provenance
On smaller screens, scroll across to compare every column. Keyboard users can focus the table and use the arrow keys.
| Boundary | Observed | Still separate |
|---|---|---|
| Inputs | 593 pinned app/Gradle files; signing override disclosed | Latest branch / current distributed app |
| Build | Actual unsigned debug assembly | All tests/lint / signed release |
| Package | Manifest identity, ZIP integrity and selected defined classes | Exhaustive data/dependency/resource assurance |
| Signature | Selected non-verification outcome consistent with unsigned override | Release certificates and update compatibility |
| Runtime | Not exercised | Installed workflows, actual server and clinical acceptance |
Additional implementation references
These provider references explain current implementation context. Historical Movo-X observations remain tied to the source records described above.
About this engineering series
Written by Omer Muneer Qazi from a review of Movo-X implementation and dated engineering records. This article explains source behaviour and historical observations; current production, clinical outcomes and store availability require their own verification. Examples are synthetic and proposed test cases are identified as such.
Explore the Movo-X engineering series → · Related implementation experience →
Discuss a similar engineering problem
Send the workflow, current platform and the decision your team needs to make. I can help define an implementation or review scope with concrete acceptance evidence.
Discuss your project on WhatsApp ↗