mirror of
https://github.com/bulwarkmail/native.git
synced 2026-10-31 16:06:32 +00:00
Release APKs are obfuscated since R8 was turned on, and nothing kept the mapping that decodes their stack traces. The workflow now copies `android/app/build/outputs/mapping/release/mapping.txt` to `bulwark-mobile-<version>-<commit>-mapping.txt`, uploads it as a workflow artifact and attaches it to the release next to the APK. The in-app updater only picks `.apk` assets, so it ignores the new file. If R8 is on (`android.enableMinifyInReleaseBuilds=true`) and no mapping was written, the step fails instead of publishing an APK whose crashes cannot be read. docs/android-release.md explains how to decode a trace with `retrace`.