-
Notifications
You must be signed in to change notification settings - Fork 90
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
ProGuard support #27
Comments
Using a pure couchdb, there is no way for Acra-storage to deobfuscate The way I see it, deobfuscation has to be an external batch process, either |
Even if it didn't support de-obfuscation, it would be great if I could add a simple Gradle task that would after the obfuscation upload the mapping.txt to Acralyzer. Then I'd always know from where to get the mapping.txt for each release and wouldn't need to manage those manually. |
There is a good workaround: Use the following settings in your proguard config file, to maintain most of the de-obfuscated class names (especially at the top of the stack trace) and approximate line numbers: In your proguard-project.txt file, add this Ensure that you don't add this to the file: Because it will just rename all the de-obfuscated classes to "SourceFile.java" |
I've made a start on this with a script that takes the Acralyzer URL, finds the appropriate mapping.txt file from within Jenkyn's build archives and runs retrace. https://github.com/molexx/acra_jenkins_retrace Alternatively it could be a starting point to automatically retracing every report and replacing the value in the db, I assume couchdb allows writing via a HTTP POST but haven't got there yet. |
What's the plan regarding proguard?
Would acra-storage retrace the stacktrace when it receives the report, or would acralyzer retrace them on the fly?
I see the proguard deobfuscator is written in Java. If I understand correctly, CouchApps are Javascript only. Would the deobfuscator have to be rewritten in javascript, or can we run the java code directly through something like Doppio?
Cheers,
A.
The text was updated successfully, but these errors were encountered: