You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closing synonymdev/bitkit-android#1184 for now: it has been on hold since August and now conflicts with master. I'm keeping its findings here for when we pick R8 up again, closer to Feb 2027. Its branch feat/enable-r8-minify (63db291) stays on GitHub, so the PR can be reopened or its commits reused.
What the PR found and did:
Turning on the AGP 9.3 optimization block for release brings in the default Android keep rules.
The local Bluetooth AAR and its helper JAR need their JNI types kept in app/proguard-rules.pro.
The PR also set the Kotlin compiler flag -Xannotation-default-target=param-property.
QA on a minified devRelease (API 36 ARM64 emulator, and a 16 KB page emulator):
Passed: launch, onboarding to Home, Lightning node start, Electrum SSL sync, trusted peer connect, VSS store id and putObject, native library loads for Paykit, bitkit-core and btleplug, hardware wallet intro and BLE scan, currency rates refresh.
Not yet run: Lightning and on-chain send and receive, Paykit contact payment, VSS restore on a new install, pairing a real hardware wallet and a transfer with it. These are the acceptance flows above, and need running on the next attempt.
For the next attempt: rebase onto master, bump to the current releases of the four libraries above (check each still ships its consumer rules), run :app:analyzeDevReleaseR8Config, then the full acceptance list.
Activity
ovitrif commentedon Nov 11, 2026
Closing synonymdev/bitkit-android#1184 for now: it has been on hold since August and now conflicts with master. I'm keeping its findings here for when we pick R8 up again, closer to Feb 2027. Its branch
feat/enable-r8-minify(63db291) stays on GitHub, so the PR can be reopened or its commits reused.What the PR found and did:
optimizationblock for release brings in the default Android keep rules.app/proguard-rules.pro.bitkit-core-android,ldk-node-android,vss-client-androidandpaykit-androidship UniFFI and JNA consumer rules (bitkit-core v0.5.11, ldk-node v0.7.0-rc.65, vss-rust-client-ffi v0.5.25, Paykit v0.1.0-rc49 at the time), the app-side UniFFI and JNA keeps can go.-Xannotation-default-target=param-property.QA on a minified
devRelease(API 36 ARM64 emulator, and a 16 KB page emulator):putObject, native library loads for Paykit, bitkit-core and btleplug, hardware wallet intro and BLE scan, currency rates refresh.For the next attempt: rebase onto master, bump to the current releases of the four libraries above (check each still ships its consumer rules), run
:app:analyzeDevReleaseR8Config, then the full acceptance list.