Enable R8 for the Android release build; release 0.5.4 #36

Merged
backmeupplz merged 1 commit from android-r8 into main 2026-10-19 14:27:28 +00:00
backmeupplz commented 2026-10-19 14:18:31 +00:00 (Migrated from github.com)

F-Droid's reviewer asked for R8 on fdroiddata!53005.

  • Release build now runs R8 with isMinifyEnabled + isShrinkResources and the default optimize rules. androidx.webkit ships its own keep rules, and MainActivity uses no reflection or @JavascriptInterface, so no custom rules are needed.
  • No new Gradle artifacts (strict dependency verification unaffected).
  • Unsigned release APK: 3.25 MB → 358 KB.
  • Reproducible: two clean clones on macOS build byte-identical APKs (sha256 43d90ac0…); compared against a build in F-Droid's buildserver-trixie image too.
  • Smoke-tested the R8 build on the OnePlus 8 (WebView 155): wallet creation, balances, and the in-app browser bridge (MetaMask test dapp: EIP-6963 provider, chainId, connect approval with the correct origin, account returned). No class/method errors in logcat.
  • Release 0.5.4 (version + versionCode bumped).

🤖 Generated with Claude Code

F-Droid's reviewer asked for R8 on fdroiddata!53005. - Release build now runs R8 with `isMinifyEnabled` + `isShrinkResources` and the default optimize rules. androidx.webkit ships its own keep rules, and `MainActivity` uses no reflection or `@JavascriptInterface`, so no custom rules are needed. - No new Gradle artifacts (strict dependency verification unaffected). - Unsigned release APK: 3.25 MB → 358 KB. - Reproducible: two clean clones on macOS build byte-identical APKs (sha256 `43d90ac0…`); compared against a build in F-Droid's buildserver-trixie image too. - Smoke-tested the R8 build on the OnePlus 8 (WebView 155): wallet creation, balances, and the in-app browser bridge (MetaMask test dapp: EIP-6963 provider, chainId, connect approval with the correct origin, account returned). No class/method errors in logcat. - Release 0.5.4 (`version` + `versionCode` bumped). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No description provided.