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 for F-Droid #2357

Closed
linsui opened this issue Nov 23, 2024 · 2 comments · Fixed by #2358
Closed

Remove DependencyInfoBlock for F-Droid #2357

linsui opened this issue Nov 23, 2024 · 2 comments · Fixed by #2358

Comments

@linsui
Copy link

linsui commented Nov 23, 2024

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!

@Donnnno
Copy link
Collaborator

Donnnno commented Nov 23, 2024

Thanks for notifying us! We've added the code :)

@linsui
Copy link
Author

linsui commented Nov 23, 2024

Thanks!

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 a pull request may close this issue.

2 participants