Open ldeso opened 2 weeks ago
If the app is to be included in the F-Droid repository in the future (#686), it would be nice to have reproducible builds.
Here are a few things that are required for F-Droid to be able to reproduce the builds:
Here is an example of an app implementing the Flutter submodule approach: https://github.com/amake/orgro
Although not required by F-Droid, it might also be worth it to add [the following](https://developer.android.com/reference/tools/gradle-api/8.4/com/android/build/api/dsl/DependenciesInfo#includeInApk()) in the file build.gradle:
android { … dependenciesInfo { includeInApk false } }
This removes the Dependency Info Block from the APK, which is an encrypted proprietary blob from Google that is not reproducible.
Edit: the Dependency Info Block was removed by merging #746.
Thanks you for this well written issue.
I don't have the time to work in this right now but I would accept a PR.
If the app is to be included in the F-Droid repository in the future (#686), it would be nice to have reproducible builds.
Here are a few things that are required for F-Droid to be able to reproduce the builds:
Here is an example of an app implementing the Flutter submodule approach: https://github.com/amake/orgro
Although not required by F-Droid, it might also be worth it to add [the following](https://developer.android.com/reference/tools/gradle-api/8.4/com/android/build/api/dsl/DependenciesInfo#includeInApk()) in the file build.gradle:
This removes the Dependency Info Block from the APK, which is an encrypted proprietary blob from Google that is not reproducible.
Edit: the Dependency Info Block was removed by merging #746.