-
Notifications
You must be signed in to change notification settings - Fork 51
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
Caused by java.lang.RuntimeException with proguard rules enabled. #76
Comments
Thanks for reporting! We are to reproduce a similar issue and are investigating what the cause might be. |
Hi @snehas13 , Our SDK relies on Tink library version After some investigation we found that:
To verify that this is indeed the case, could you try adding the following configuration to your Proguard file and let us know if that solves your problem?
|
The given solution works :) Thanks a lot for the help. |
Thanks for verifying! Our next SDK release 2.0.0 will have these rules bundled in (for your convenience), once we are able to upgrade to Tink 1.4.0 we will do so and remove these rules. You can preview that SDK version here: https://bintray.com/plaid/link-android/com.plaid.link/2.0.0-rc3 |
Hi,
We are using plaid version 1.4.0 in our project and it works fine for debug builds.
But for release build when we enable proguard rules then we get below runtime exception.
We also use Tink library 1.3.0 version in our project for encryption and decryption.
Below exception is coming in the screen where we initialise Tink Library.
Caused by java.lang.RuntimeException
Field configName_ for c.b.c.a.j0.a3 not found. Known fields are [private com.google.crypto.tink.shaded.protobuf.Internal$i c.b.c.a.j0.a3.e, private static final c.b.c.a.j0.a3 c.b.c.a.j0.a3.f, private static volatile com.google.crypto.tink.shaded.protobuf.x0 c.b.c.a.j0.a3.g]
W.r.to initialization of Tink library we are following exact code mentioned in the Overview of below link.
https://github.com/google/tink
Request you to help us on this issue.
The text was updated successfully, but these errors were encountered: