#96 Release build R8 warnings (#1482)

* #96 Release build R8 warnings

Closes #96

* #96 Proguard and documentation update

Closes #96

---------

Co-authored-by: Milan Cerovsky <milan.cerovsky@leeaf.life>
This commit is contained in:
Milan 2024-06-24 10:19:00 +02:00 committed by GitHub
parent f669e4c68e
commit cf8ec87761
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 4 deletions

View File

@ -68,5 +68,4 @@ the project, these steps are not necessary.)
1. Test coverage for Compose code will be low, due to [known limitations](https://github.com/jacoco/jacoco/issues/1208) in the interaction between Compose and Jacoco.
1. Adding the `espresso-contrib` dependency will cause builds to fail, due to conflicting classes. This is a [known issue](https://github.com/Electric-Coin-Company/zcash-android-wallet-sdk/issues/306) with the Zcash Android SDK.
1. Android Studio will warn about the Gradle checksum. This is a [known issue](https://github.com/gradle/gradle/issues/9361) and can be safely ignored.
1. [#96](https://github.com/Electric-Coin-Company/zashi-android/issues/96) - Release builds print some R8 warnings which can be safely ignored.
1. During app first launch, the following exception starting with `AndroidKeysetManager: keyset not found, will generate a new one` is printed twice. This exception is not an error, and the code is not being invoked twice.

View File

@ -27,4 +27,9 @@
# in the projects, so the classes aren't present. These warnings are safe to suppress.
-dontwarn kotlinx.serialization.KSerializer
-dontwarn kotlinx.serialization.Serializable
-dontwarn kotlinx.serialization.internal.AbstractPolymorphicSerializer
-dontwarn kotlinx.serialization.internal.AbstractPolymorphicSerializer
-keepclassmembers class java.util.concurrent.ConcurrentHashMap { *; }
-keepclassmembers class java.util.IntSummaryStatistics { *; }
-keepclassmembers class java.util.LongSummaryStatistics { *; }
-keepclassmembers class java.util.DoubleSummaryStatistics { *; }

View File

@ -272,7 +272,6 @@ dependencyResolutionManagement {
bundle(
"androidx-compose-core",
listOf(
"androidx-compose-compiler",
"androidx-compose-foundation",
"androidx-compose-material3",
"androidx-compose-tooling",
@ -356,4 +355,4 @@ if (bip39IncludedBuildPath.isNotEmpty()) {
substitute(module("cash.z.ecc.android:kotlin-bip39")).using(project(":bip39-lib"))
}
}
}
}