mirror of
https://github.com/torlando-tech/columba
synced 2026-08-12 18:07:15 -04:00
Replace individual -keep rules for each bridge class with a single
generic pattern that matches any class ending in "Bridge":
-keep class com.lxmf.messenger.**.*Bridge { *; }
This fixes a bug where CallBridge was not being preserved by R8,
causing incoming voice calls to fail with:
"'h' object has no attribute 'onIncomingCall'"
The verification script is also updated to:
- Dynamically discover *Bridge classes from Kotlin source
- Use generic patterns to find bridge method calls in Python
- No longer requires manual updates when adding new bridges
Convention: Any Kotlin class callable from Python should be named
with a "Bridge" suffix (e.g., FooBridge) to be automatically preserved.
Fixes voice call bug on release builds where R8 obfuscation broke
the Python→Kotlin bridge communication.
Co-Authored-By: claude-flow <ruv@ruv.net>
|
||
|---|---|---|
| .. | ||
| columba_logo_preview.png | ||
| convert_icon_to_framebuffer.py | ||
| verify-on-device.sh | ||
| verify_proguard_bridge.py | ||