Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove DependencyInfoBlock #37

Open
licaon-kter opened this issue Nov 8, 2024 · 3 comments
Open

Remove DependencyInfoBlock #37

licaon-kter opened this issue Nov 8, 2024 · 3 comments

Comments

@licaon-kter
Copy link
Contributor

ref: https://gitlab.com/fdroid/fdroiddata/-/jobs/8310542226#L553

We find that there is a DependencyInfoBlock in your APK.

It's a Signing block added by AGP and encrypted with the Google public key so it can't be read by anyone else except Google. You can read more about it here and here.

While this was added a while ago, we were only enforcing it for new apps, and recently we started scanning updates too.

Could you please disable it with the following code?

android {
    dependenciesInfo {
        // Disables dependency metadata when building APKs.
        includeInApk = false
        // Disables dependency metadata when building Android App Bundles.
        includeInBundle = false
    }
}

Thanks!

@Ma7moud3ly
Copy link
Owner

Hello @licaon-kter
I have included dependenciesInfo at default flavor but app size still the same.. Is it ok with you ?

create("default") {
     dimension = "services"
      dependenciesInfo {
           // Disables dependency metadata when building APKs.
           includeInApk = false
           // Disables dependency metadata when building Android App Bundles.
           includeInBundle = false
      }
 }

@licaon-kter
Copy link
Contributor Author

The block is small, will check soon :)

@licaon-kter
Copy link
Contributor Author

@Ma7moud3ly ok, so when is the next release coming? :)

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

No branches or pull requests

2 participants