aws-amplify / aws-sdk-android

AWS SDK for Android. For more information, see our web site:
https://docs.amplify.aws
Other
1.03k stars 549 forks source link

fix(core): Add Signer classes to consumer proguard rules #3310

Closed mattcreaser closed 1 year ago

mattcreaser commented 1 year ago

Issue #, if available: #3302

Description of changes: Add rules to the consumer proguard file to keep the various Signer classes instantiated reflectively by SignerFactory. AGP 8 enables R8 full-mode optimization, which normally removes unreferenced constructors.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.