oliviergauthier / gradle-appcenter-plugin

This gradle plugin allow you to upload each build variant of your android application to separate AppCenter Apps.
MIT License
84 stars 44 forks source link

Upload proguard mapping #21

Closed przan closed 4 years ago

przan commented 5 years ago

Hi! There is no mapping.txt file uploaded to AppCenter for given .apk. Do you plan to add this?

oliviergauthier commented 5 years ago

I can try to add this feature, where mapping file is located by default in a standard android project ?

Thks

przan commented 5 years ago

It would be really great to have this, as one of the reasons to upload to appcenter is to collect crash logs, which are useless when obfuscated.

I have the mapping here: app\build\outputs\mapping\{flavors}\release\mapping.txt

We use 2 dimens of flavors (one for environment, e.g. test, qa, prod and one for brand, e.g. productOne, productTwo) so in our case {flavor} mentioned in the above path is e.g. productTwoQa

https://stackoverflow.com/questions/25724645/where-does-android-studio-save-the-proguard-mapping-file

oliviergauthier commented 4 years ago

Can you please try version 1.1.12 ? I have adde mapping file upload. Tell me if it fit your needs

Thanks

przan commented 4 years ago

The mapping for my app has been uploaded with correct versionCode and versionName. Thanks a lot for such quick implementation!