Skip to content

feat: Play Store and F-Droid dual release support#648

Merged
najuna-brian merged 5 commits into
OpenDataEnsemble:devfrom
najuna-brian:feat/play-fdroid-release-alignment
Jun 4, 2026
Merged

feat: Play Store and F-Droid dual release support#648
najuna-brian merged 5 commits into
OpenDataEnsemble:devfrom
najuna-brian:feat/play-fdroid-release-alignment

Conversation

@najuna-brian
Copy link
Copy Markdown
Contributor

Description

Enables Google Play and F-Droid from the same FOSS codebase. Builds on #647 (merged): per-ABI APK naming fix after #646.

This PR does not change the F-Droid metadata or build path (abiFilters, prebuild sed, init steps). It aligns CI and Gradle with that recipe and adds Play Store AAB output.

Changes

CI / GitHub Actions

  • Run patch:android-foss and generate before release builds (same as F-Droid metadata init)
  • Build bundleRelease for signed Play Store AABs
  • Upload AAB as a workflow artifact; attach AAB + split APKs to GitHub Releases

Android build (build.gradle)

  • Align per-ABI versionCode with F-Droid metadata (2–5 when base is 2) instead of the 100× formula
  • Play AAB uses defaultConfig.versionCode; split APKs use base + ABI offset

Docs

  • formulus/android/ANDROID_RELEASE.md: release prep, Play AAB flow, F-Droid flow, version codes

F-Droid impact

No fdroiddata changes in this PR. Existing metadata remains valid.

Test plan

  • PR CI: Formulus Android & Formplayer Assets passes (debug APK on PR)
  • After merge to dev: release job succeeds; AAB artifact present
  • Optional: GitHub pre-release → AAB attached to release
  • F-Droid: no metadata changes required

Post-merge

  1. Merge to dev
  2. Tag + GitHub pre-release (optional) → download AAB from Release or Actions artifacts
  3. Upload AAB to Play Console (signed via repo secrets)
  4. F-Droid: continue via separate fdroiddata MR

Related


Copy link
Copy Markdown
Contributor

@r0ssing r0ssing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@najuna-brian najuna-brian merged commit c6e3243 into OpenDataEnsemble:dev Jun 4, 2026
10 checks passed
@najuna-brian najuna-brian deleted the feat/play-fdroid-release-alignment branch June 4, 2026 09:46
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.

2 participants