disabled R8 full mode
This commit is contained in:
parent
195e28ec60
commit
162a7d7389
2 changed files with 7 additions and 0 deletions
3
android/app/proguard-rules.pro
vendored
3
android/app/proguard-rules.pro
vendored
|
@ -4,3 +4,6 @@
|
|||
# referenced from: com.google.crypto.tink
|
||||
-dontwarn com.google.errorprone.annotations.**
|
||||
-dontwarn javax.annotation.**
|
||||
|
||||
# report all the code that R8 removed (<output-dir> is `/build/app/outputs/mapping/[build]/`)
|
||||
-printusage <output-dir>/usage.txt
|
||||
|
|
|
@ -19,6 +19,10 @@ android.defaults.buildfeatures.buildconfig=true
|
|||
android.nonTransitiveRClass=false
|
||||
android.nonFinalResIds=false
|
||||
|
||||
# full mode is too aggressive and removes essential code
|
||||
# of `metadata-extractor` even when adding `-keep class com.drew.**{ *; }`
|
||||
android.enableR8.fullMode=false
|
||||
|
||||
# fix for AppGallery Connect plugin which does not support yet Gradle 8
|
||||
# cf https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-common-faq-0000001063210244#section17273113244910
|
||||
apmsInstrumentationEnabled=false
|
||||
|
|
Loading…
Reference in a new issue