commit 5cd616c4c407263a71d612f80be8e2d8e2c9e453 truex <truex@equwal.com> 2026-09-26 13:30:14 -0700 Leave the Google dependency list out of the APK, and set the version to 0.1.2 AGP puts a list of dependencies, encrypted for Google, into the signing block of a signed APK. The F-Droid check apk job rejects an APK with it: Found extra signing block Dependency metadata.
CHANGELOG.md | 4 ++++ app/build.gradle.kts | 11 +++++++++-- fastlane/metadata/android/en-US/changelogs/3.txt | 1 + fdroid/README.md | 2 +- fdroid/dev.equwal.inkdim.yml | 10 +++++----- 5 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3143614..b73fb4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.1.2 + +- The signed APK has no dependency list for Google in it, so F-Droid can check that its own build is the same. + ## 0.1.1 - The APK is smaller: R8 removes the code that the app does not use. diff --git a/app/build.gradle.kts b/app/build.gradle.kts index d37380f..a2fe57b 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -21,12 +21,19 @@ android { namespace = "dev.equwal.inkdim" compileSdk = 36 + // No list of dependencies, encrypted for Google alone, in the signed APK. + // F-Droid does not accept it, and it would stop the reproducible build check. + dependenciesInfo { + includeInApk = false + includeInBundle = false + } + defaultConfig { applicationId = "dev.equwal.inkdim" minSdk = 31 targetSdk = 36 - versionCode = 2 - versionName = "0.1.1" + versionCode = 3 + versionName = "0.1.2" } signingConfigs { diff --git a/fastlane/metadata/android/en-US/changelogs/3.txt b/fastlane/metadata/android/en-US/changelogs/3.txt new file mode 100644 index 0000000..e7ed0d8 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/3.txt @@ -0,0 +1 @@ +The signed APK has no dependency list for Google in it, so F-Droid can check that its own build is the same. diff --git a/fdroid/README.md b/fdroid/README.md index 708d328..fccfb99 100644 --- a/fdroid/README.md +++ b/fdroid/README.md @@ -1,6 +1,6 @@ # How to submit Ink Dim to F-Droid -1. Tag the release `v0.1.1` and push the tag. +1. Tag the release `v0.1.2` and push the tag. 2. Fork `fdroid/fdroiddata` on GitLab, then clone your fork. 3. Copy `dev.equwal.inkdim.yml` into `metadata/` of your clone. 4. Run `fdroid readmeta` and `fdroid lint dev.equwal.inkdim` to check it. diff --git a/fdroid/dev.equwal.inkdim.yml b/fdroid/dev.equwal.inkdim.yml index d60ee45..3e36296 100644 --- a/fdroid/dev.equwal.inkdim.yml +++ b/fdroid/dev.equwal.inkdim.yml @@ -15,9 +15,9 @@ Repo: https://github.com/equwal/ink-dim.git Binaries: https://github.com/equwal/ink-dim/releases/download/v%v/ink-dim-%v.apk Builds: - - versionName: 0.1.1 - versionCode: 2 - commit: v0.1.1 + - versionName: 0.1.2 + versionCode: 3 + commit: v0.1.2 subdir: app gradle: - yes @@ -26,5 +26,5 @@ AllowedAPKSigningKeys: bcb3127e1931a9b906e8e2498184ef5380f97cbf3531e5bc8bb006447 AutoUpdateMode: Version UpdateCheckMode: Tags -CurrentVersion: 0.1.1 -CurrentVersionCode: 2 +CurrentVersion: 0.1.2 +CurrentVersionCode: 3