Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Sentry Authentication for CI/CD for Minified Release APKs #3637

Open
qiarie opened this issue Nov 26, 2024 · 0 comments
Open

Setup Sentry Authentication for CI/CD for Minified Release APKs #3637

qiarie opened this issue Nov 26, 2024 · 0 comments
Assignees

Comments

@qiarie
Copy link
Contributor

qiarie commented Nov 26, 2024

As part of OpenSRP 2 optimization efforts, APK minification and shrinking has been enabled in the build process.

Minification and shrinking reduces the size of the APK by removing unused classes and resources while also renaming class and class members to reduce the class size. While this significantly improves performance, the original code structure is modified, making debugging more challenging.

Source maps generated during the build process are files that map the transformed, minified code back to the original source code. They allow us to trace errors and inspect the original code structure.

With the automated release process, we need to upload the generated source maps to Sentry to be able to decode stack traces.

A Sentry authentication token, organisation, project and URL are required to upload the mapping files to Sentry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants