From 130bab65d22c43e6fa9faf673724685c10286e1d Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Tue, 12 May 2026 11:31:16 +0200 Subject: [PATCH] Prevent R8 to strip out `RequireBuildId` boolean resource - without: `bool:com_crashlytics_RequireBuildId:2131034114 is not reachable` - with: `bool:com_crashlytics_RequireBuildId:2131034114 reachable from keep xml file` Note: `_` are used instead of `.` because periods are not valid characters. --- .../src/main/res/raw/firebase_crashlytics_keep.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firebase-crashlytics/src/main/res/raw/firebase_crashlytics_keep.xml b/firebase-crashlytics/src/main/res/raw/firebase_crashlytics_keep.xml index 3c739b26c52..70d706fe081 100644 --- a/firebase-crashlytics/src/main/res/raw/firebase_crashlytics_keep.xml +++ b/firebase-crashlytics/src/main/res/raw/firebase_crashlytics_keep.xml @@ -14,4 +14,5 @@ ~ limitations under the License. --> \ No newline at end of file + tools:keep="@string/com.google.firebase.crashlytics_*,@bool/com_crashlytics_RequireBuildId" /> + \ No newline at end of file