firebase-android-sdk icon indicating copy to clipboard operation
firebase-android-sdk copied to clipboard

Manual upload the mapping file

Open pjq opened this issue 5 years ago • 19 comments
trafficstars

What feature would you like to see?

The Firebase Crashlytics will auto upload the mapping file during the build phase, and I want to have the capability to upload it manually.

How would you use it?

Our build server will not allow to visit the external url, only allow to the local server, so it can't send the mapping file to the Google Firebase Server. If it will have the tools/tasks to support manual upload that will be really helpful.

pjq avatar Sep 24 '20 07:09 pjq

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Sep 24 '20 07:09 google-oss-bot

same here

tobecrazy avatar Sep 24 '20 07:09 tobecrazy

Will this issue be take care of by Google, or just let it go? It will be appreciated that if someone can update the status or comment about it.

pjq avatar Oct 12 '20 03:10 pjq

Any updates on this?

zhangao0086 avatar Oct 26 '20 02:10 zhangao0086

Manual upload is necessary. Is there any progress?

ChinaZeng avatar Oct 26 '20 02:10 ChinaZeng

Will this requirement valid or invalid?

pjq avatar Nov 09 '20 09:11 pjq

anyone help?

ding33211 avatar Dec 21 '20 10:12 ding33211

Hey folks we have are aware this is a desired feature and will be supporting it eventually. I don't have a timeline for it yet, though. I'll keep the issue open and we'll post an update here when we have one.

mrichards avatar May 14 '21 14:05 mrichards

It's probably low priority from Google's perspective, but it's one blocker issue for our team, so do you have any workaround for it, or any tricky things can do it? Or any sample code I can refer if I want to build the "manual upload tool"? Really appreciate someone from the Firebase Android SDK team can give any hint.

pjq avatar Aug 03 '21 05:08 pjq

`

  PUT /v1/project/-/app/app_id/upload/java/35387219eef244db825e995a8085xxxx HTTP/1.1
User-Agent crashlytics-gradle/2.6.1
X-CRASHLYTICS-API-CLIENT-TYPE crashlytics-gradle
X-CRASHLYTICS-API-CLIENT-VERSION 2.6.1
Content-Length 5208094
Host firebasecrashlyticssymbols.googleapis.com
Connection Keep-Alive
Accept-Encoding gzip,deflate
�`

pjq avatar Aug 03 '21 09:08 pjq

This is the API called upload the mapping file, so probably we can call it and build the upload tool by ourself.

pjq avatar Aug 03 '21 09:08 pjq

image

pjq avatar Aug 03 '21 09:08 pjq

image

pjq avatar Aug 12 '21 03:08 pjq

Hi there, any update for this?

My team follow this article https://medium.com/nerd-for-tech/secure-your-firebases-google-services-json-file-in-android-16680f8e5fb4 to secure our google keys, but somehow our crash report still obfuscate.

Anyone familiar with this?

adef145 avatar Dec 28 '21 02:12 adef145

Is there any progress on this?

ChinaZeng avatar Jan 14 '22 03:01 ChinaZeng

Hello,

Does Firebase Console Crashlytics have any means to associate the mappings file uploaded during the build step to a specific app version? If not does it mean that uploading a new mappings file would break deobfuscation of stack traces generated by earlier versions?

Google Play provides the ability to upload a mapping file for a given app version which seems the proper thing to do.

ptsekov avatar Jan 27 '22 16:01 ptsekov

@ptsekov The mapping file is associated with a UUID that is added to the app as a resource during compilation, not the app version code. So unless you've hardcoded that UUID, new builds will not overwrite old ones, even if the version code is the same.

As a general update, we have prioritized work on the manual (non-Gradle) mapping file upload utility. We don't have an ETA for release yet but it is being worked on.

mrichards avatar Feb 07 '22 15:02 mrichards

Hi there, any update for this?

My team follow this article https://medium.com/nerd-for-tech/secure-your-firebases-google-services-json-file-in-android-16680f8e5fb4 to secure our google keys, but somehow our crash report still obfuscate.

Anyone familiar with this?

@adef145 I did something similar for my team. Do you have a workaround yet?

SirGoingFar avatar Mar 19 '22 10:03 SirGoingFar

Hi there, any update for this? My team follow this article https://medium.com/nerd-for-tech/secure-your-firebases-google-services-json-file-in-android-16680f8e5fb4 to secure our google keys, but somehow our crash report still obfuscate. Anyone familiar with this?

@adef145 I did something similar for my team. Do you have a workaround yet?

@SirGoingFar Currently we ignore it and in parallel trying Sentry instead

adef145 avatar May 23 '22 14:05 adef145

Hi all, the capability to upload mapping files outside of Gradle is now available in the Firebase CLI. If you have any issues with this feature, please report them in the firebase-tools repo. Thank you!

mrichards avatar Sep 02 '22 14:09 mrichards

Hi all, the capability to upload mapping files outside of Gradle is now available in the Firebase CLI. If you have any issues with this feature, please report them in the firebase-tools repo. Thank you!

Thanks @mrichards dan teams

adef145 avatar Sep 03 '22 02:09 adef145