Skip to content

Add Play and FOSS distributions - #356

Merged
75py merged 1 commit into
mainfrom
codex/add-distribution-flavors
Aug 29, 2026
Merged

Add Play and FOSS distributions#356
75py merged 1 commit into
mainfrom
codex/add-distribution-flavors

Conversation

@75py

@75py 75py commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • add play and foss distribution flavors on the shared Android 16 / targetSdk 36 codebase
  • keep the existing Play application ID with AdMob 25.4.0 and the official UMP consent/privacy-options flow
  • add a co-installable FOSS application ID with no Ads/UMP/Google OSS runtime, network permissions, ad metadata, or automatic communication
  • replace Google OSS Licenses with an offline Licensee-generated dependency catalog shared by both variants
  • make Play release ad configuration fail closed, while CI test-ad bundles use the non-publishable .ci application ID
  • build, lint, test, and report informational Kover coverage for both variants in CI

Validation

  • ktlintCheck
  • testPlayDebugUnitTest testFossDebugUnitTest
  • koverXmlReportPlayDebug koverXmlReportFossDebug
  • lintPlayRelease lintFossRelease
  • assemblePlayDebugAndroidTest assembleFossDebugAndroidTest
  • bundlePlayRelease -PallowTestAds=true (com.nagopy.android.aplin.ci)
  • missing Play ad properties and test IDs without explicit CI opt-in both fail validation
  • assembleFossRelease succeeds without ads.properties
  • FOSS release dependency, manifest, resource, asset, and DEX audits found no Ads, UMP, Google OSS, network permission, AD_ID, ad metadata, or ad IDs
  • API 37 emulator: Play/FOSS debug variants installed side-by-side and launched; list, settings, FOSS license catalog, and distribution-specific controls were checked

Known validation boundary

The Play connected suite reached 8/9 completed with 0 failures, then the existing LoadPackagesUseCaseTest stalled while navigating Android Settings. It was stopped, so the FOSS connected suite was not run. Both instrumentation APKs compile successfully.

Managed-emulator CI, clean-tag reproducibility proof, complete third-party NOTICE/copyright text packaging, release signing, F-Droid metadata, and store-console changes remain separate release work.

@75py
75py force-pushed the codex/add-distribution-flavors branch from 3f50ed1 to 0ecabe1 Compare August 29, 2026 16:08
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

@75py
75py merged commit 6776d2d into main Aug 29, 2026
1 check passed
@75py
75py deleted the codex/add-distribution-flavors branch August 29, 2026 16:21
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