-
Notifications
You must be signed in to change notification settings - Fork 548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep service exception constructors after R8 minification #3466
Comments
@ede-wolf-gls What error are you instead getting with minification? I've tried to replicate but haven't seen minification break exceptions I've checked against yet. |
tylerjroach
added
bug
Something isn't working
cognito
Issues with the AWS Android SDK for Cognito
labels
Nov 14, 2023
The stacktrace looks like this:
|
Thank you, will look to add the rule. In the meantime, please continue with the manual addition to your proguard config. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
With minification enabled, my app gets different exceptions when a user tries to login.
To Reproduce
com.amazonaws.services.cognitoidentity.model.NotAuthorizedException
for not authorized usersCurrent workaround: I added
in my proguard file.
Which AWS service(s) are affected?
Cognito
com.amazonaws:aws-android-sdk-cognitoidentityprovider:2.73.0
Expected behavior
Even with minification, the app should receive the same exception as without minification.
Screenshots
Environment Information (please complete the following information):
2.73.0
The text was updated successfully, but these errors were encountered: