Skip to content

Conversation

@ldeso
Copy link
Contributor

@ldeso ldeso commented Jun 7, 2024

The Dependency Info Block is an encrypted proprietary blob from Google that is added to every APK and AAB file by default, and that is not reproducible.

As discussed in #743, this pull request removes this blob from APK files by adding the following in build.gradle:

android {
    …

    dependenciesInfo {
        includeInApk false    # APK files
        includeInBundle true  # AAB files
    }
}

This pull request does not remove the Dependency Info Block from AAB files because, at the moment, those files are not shared with anyone else than the Google Play. If AAB files are to be published to other stores in the future (such as Accrescent), it might be worth it to remove the Dependency Info Block from them as well.

@ldeso
Copy link
Contributor Author

ldeso commented Jun 7, 2024

Rebased to #747 to pass CI tests.

@veloce veloce merged commit 5fd3fd5 into lichess-org:main Jun 7, 2024
@ldeso ldeso mentioned this pull request Jun 7, 2024
4 tasks
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 this pull request may close these issues.

2 participants