Skip to content

Commit de74730

Browse files
authored
Prevent R8 to strip out RequireBuildId boolean resource (#8145)
- 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. Fixes #8146
1 parent 1dfa16a commit de74730

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

firebase-crashlytics/src/main/res/raw/firebase_crashlytics_keep.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
~ limitations under the License.
1515
-->
1616
<resources xmlns:tools="http://schemas.android.com/tools"
17-
tools:keep="@string/com.google.firebase.crashlytics_*" />
17+
tools:keep="@string/com.google.firebase.crashlytics_*,@bool/com_crashlytics_RequireBuildId" />
18+

0 commit comments

Comments
 (0)