firebase-android-sdk
firebase-android-sdk copied to clipboard
Crashytics plugin makes builds non-reproducible
[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:
- Integrate crashlytics into an android app
- Export an APK twice
- Extract the contents of the APK and
diff -rthem. 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.
Hi @champo thanks for reporting. This sounds like a feature request though. Let me check with team.
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.
Hi 👋 Is there any update on this? This is also preventing build cache from being used.