tink-crypto / tink

Tink is a multi-language, cross-platform, open source library that provides cryptographic APIs that are secure, easy to use correctly, and hard(er) to misuse.
https://developers.google.com/tink
Apache License 2.0
13.5k stars 1.18k forks source link

Bug: when creating a release version that uses EncryptedSharedPreferences, getting a warning of "Missing classes detected while running R8." #536

Closed AndroidDeveloperLB closed 1 year ago

AndroidDeveloperLB commented 3 years ago

This: https://issuetracker.google.com/issues/195752905

juergw commented 1 year ago

I think adding "-dontwarn com.google.errorprone.annotations.Immutable" should be fine. This annotation is only needed to generate compile-time warnings, and it is not needed at run-time.

I don't have a better solution than adding this "dontwarn" line. I'll close this now, please re-open if there is a problem with this.