Skip to content

Crash reporter no longer de-obfuscate libraries stack-traces since R8 #1676

Open
@goupilapps

Description

@goupilapps

Description
We have an Android application that uses an SDK. Both, the SDK and the application is developed by us, so we have the mapping file to de-obfuscate stacktraces for both of them. Both the SDK and the app are compiled and obfuscated with R8.
App center allows to publish one mapping file, therefore we merge the two mapping files(The APP + SDK) by appending the content of the SDK mapping file to the app mapping file. The new mapping file is then uploaded to app center.

When a crash occurs, we expect to have the stack-trace de-obfuscated for both the app and the SDK part. However, only the app part of the stack-trace is de-obfuscated, not the SDK part.

Alternatives considered
It works fine locally with the official pro-guard tool: https://support.bugfender.com/en/articles/1744985-deobfuscating-a-stacktrace, but it does not work on appcenter.

Additional context
The purpose of the SDK is to be sold used by our clients.
I have created a dummy sdk and a dummy app that uses that dummy sdk so you reproduce the bug. The source code for both, the dummy app and the dummy SDK are uploaded here.
MyApp_MySDK.zip
I also made a screenshot showing that the de-obfuscation works with the official too, but not with appcenter.
Screenshot_2020-02-12_17-14-35

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug or issue with App CenterdiagnosticsRelated to App Center's Diagnostics service

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions