Enable R8 for release builds; release 0.5.4 #37
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
backmeupplz/plainwallet!37
Loading…
Reference in a new issue
No description provided.
Delete branch "r8-fdroid-143"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
F-Droid's reviewer asked to enable R8 on the inclusion request (https://gitlab.com/fdroid/fdroiddata/-/merge_requests/53005). Release builds now run R8 with
isMinifyEnabledandisShrinkResourceson the defaultproguard-android-optimize.txtrules, the same setup ABS+ and Todorant ship on F-Droid. The app needs no keep rules: it has no reflection and no@JavascriptInterface; both WebViews talk to it through androidx.webkit's web message listeners, and androidx.webkit ships its own consumer rules.Also bumps to 0.5.4 (versionCode 504) so the release can go to the merge request.
Verification notes follow in a comment (local release builds, reproducibility, install check).
Verification at
affc1c4:npm testpasses; CIbuild(strict dependency verification, Linux) andbuild-appleare green on both heads. R8 needed no new verification-metadata entries.43d90ac0243b05652521da233606fd769fa1d28b5c9fde20c2fc647f03266ff6. The APK shrank from 3.2 MB (0.5.3) to 358 KB, and classes.dex from 2.9 MB to 91 KB.@JavascriptInterface; androidx.webkit's consumer rules keep its boundary interfaces;resources.txtkeeps every resource the app uses (colors, star drawables, icon, theme,data_extraction_rules). There's no baseline profile in the APK.After merge: publish v0.5.4; the store workflow moves F-Droid MR !53005 to 0.5.4. Then reply to the reviewer there.
Duplicate of #36, which landed the same R8 change + 0.5.4 bump (
e21176f). Closing.Pull request closed