-
Notifications
You must be signed in to change notification settings - Fork 50
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
ProGuard Rules Issues #445
Comments
Hi @giovanniandreuzza, I believe you might be running into Moshi Issue #1663. We addressed this issue (as reported in #386) in version
However, I see that you are seeing this on Android 7.1, so you may not be able to use SDK 3.X since it only supports Android 8 and up. If not, you should be able to include this same rule directly in your own application's Proguard configuration to resolve your issue. Please let me know if that works for you. Hopefully this rule will be integrated directly into Moshi some day in the future. |
Hi @chr-stripe, thanks for the help. I already tested and it works perfectly 🥳 Thanks again and have a nice day! |
Hi @chr-stripe, one question a bit off topic. I saw @giovanniandreuzza is still using the SDK version |
@chr-stripe can you help me regarding my message above? |
Hey nice to meet you @federicopolesello However we currently have no plan to explicitly block the use of V2.x SDK beyond the EOL date. Should we decide to do so, we will make sure to communicate the exact cutoff date well in advance to all impacted users including yourself. I hope this helps, thanks. |
@xiaoshen-stripe Awesome! Thank you very much for your answer. 🙏 |
Summary
App not working when applying shrinking, obfuscation and minify.
Code to reproduce
Building the apk with:
and by adding in gradle.properties:
android.enableR8.fullMode=true
Android version
Android 7.1 and Android 13
Impacted devices (Android devices or readers)
All
SDK version
2.23.3
Other information
Error Log:
The text was updated successfully, but these errors were encountered: