Skip to content

Publishing to F-Droid

This app is intended to be distributed through F-Droid, the free-software Android app repository. F-Droid builds APKs itself from the public source and signs them with its own key, so you only need to provide the build recipe and a version tag.

Prerequisites

  • A public source repository (CodeFloe is public).
  • A version tag in the repo (e.g. v1.0.0).
  • The manifest in fdroid/io.nfcscreen.app.yml passes fdroid lint.

Build the release APK locally

# Web assets + Gradle assemble (uses the CI build container)
make build-android
# The release (unsigned) APK:
ls app/android/app/build/outputs/apk/release/app-release.apk

F-Droid ignores local APKs (it builds from source), so the local build is only for testing.

Validate the manifest

Install fdroidserver and run the linter:

git clone https://gitlab.com/fdroid/fdroidserver
cd fdroidserver
./fdroid lint /path/to/nfcscreen/fdroid/io.nfcscreen.app.yml

The manifest declares:

  • RepoType: git / Repo: https://codefloe.com/st4713/nfcscreen-app
  • a Builds: entry for 1.0 / code 1 at commit: v1.0.0
  • a build: script that installs Node.js 24 (needed to build the Quasar web assets) then runs npm ci && npm run build and ./gradlew --no-daemon assembleRelease
  • output: pointing to app/android/app/build/outputs/apk/release/app-release.apk

Submit to F-Droid

  1. Create a version tag in the repo: bash git tag v1.0.0 && git push origin v1.0.0
  2. Fork fdroid/fdroiddata.
  3. Add the manifest as metadata/io.nfcscreen.app.yml.
  4. Add icons/screenshots following the graphics guide.
  5. Open a merge request. The F-Droid maintainers review, build and publish.

Update flow

AutoUpdateMode: Version + UpdateCheckMode: Tags lets F-Droid detect new version tags automatically. Bump the version in app/android/app/build.gradle (versionName/versionCode) and tag each release.

Notes

  • The app requires the NFC Android permission (AndroidManifest.xml). This is declared with android:required="true", so installation is limited to NFC-capable devices — intended for this app.
  • The weather template contacts Open-Meteo (a free network service). This may be flagged as Tracking/NonFreeNet by F-Droid reviewers — the description discloses it. If needed, the weather feature can be made opt-in.
  • The Kotlin driver and the Capacitor plugin are duplicated inside the Android project (app/android/app/src/main/kotlin/) — the F-Droid build compiles those sources directly.