Fix nightly and release build by temporarily deactivate removeUnusedCode. Related to #8408

This commit is contained in:
Benoit Marty 2023-05-09 14:29:58 +02:00
parent 79b451546d
commit 672151b8a2

View file

@ -259,7 +259,8 @@ android {
release {
resValue "string", "app_name", "Element"
postprocessing {
removeUnusedCode true
// FIXME Set to true.
removeUnusedCode false
removeUnusedResources true
// We do not activate obfuscation as it makes it hard then to read crash reports, and it's a bit useless on an open source project :)
obfuscate false
@ -276,7 +277,8 @@ android {
// Just override the background color of the launcher icon for the nightly build.
// We need to copy paste this block, this is not done automatically by `initWith release`
postprocessing {
removeUnusedCode true
// FIXME Set to true.
removeUnusedCode false
removeUnusedResources true
// We do not activate obfuscation as it makes it hard then to read crash reports, and it's a bit useless on an open source project :)
obfuscate false