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

Crashytics plugin makes builds non-reproducible

Open champo opened this issue 4 years ago • 3 comments

[REQUIRED] Step 2: Describe your environment

  • Android Studio version: Android Studio Arctic Fox | 2020.3.1 Canary 12
  • Firebase Component: Crashlytics
  • Component version: 2.5.2

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

  1. Integrate crashlytics into an android app
  2. Export an APK twice
  3. Extract the contents of the APK and diff -r them. See:
76c76
<     <string name="com.crashlytics.android.build_id">79a4d6b75ce84bd6ae254b900862f3a4</string>
---
>     <string name="com.crashlytics.android.build_id">b8c86404219046eda8f32c66a3f45467</string>

Expected

A determinsitic id to be used and two builds with the same source to have an equivalent build id. Possibly a hash of the mapping file could be used.

champo avatar Apr 07 '21 14:04 champo

Hi @champo thanks for reporting. This sounds like a feature request though. Let me check with team.

aguatno avatar Apr 08 '21 18:04 aguatno

Hi! TBH I doubted whether to set it as feature or bug. Decided on bug since the whole android gradle stack is reproducible. I don't have a strong opinion on that and would gadle change the report to feature if you disagree.

champo avatar Apr 08 '21 18:04 champo

Hi 👋 Is there any update on this? This is also preventing build cache from being used.

lamphamTL avatar Nov 28 '23 01:11 lamphamTL