Skip to content

Enable obfuscation. - #6883

Open
dbrant wants to merge 12 commits into
mainfrom
obfuscate
Open

dbrant wants to merge 12 commits into
mainfrom
obfuscate

Conversation

@dbrant

@dbrant dbrant commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

This switches to the new way (as of AGP 9.3) of enabling optimization of the app package with R8.

This also enables obfuscation (or rather removes disabling of obfuscation) from the release build. This will need to be tested very thoroughly, particularly in places where reflection might be happening (dependencies that use Gson? etc).

https://phabricator.wikimedia.org/T436882

@dbrant dbrant added the WIP Work in progress label Sep 10, 2026
@dbrant dbrant added Ready for Review and removed WIP Work in progress labels Oct 26, 2026

@Williamrai Williamrai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not find any issues while testing. I first installed the release build before obfuscation and used features like widgets, games, Places, and notifications. I then updated the app to the obfuscated release build and tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants