Skip to content
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

Android reflection: Setting tintColorInt no longer works #1602

Closed
jonasbark opened this issue Jan 31, 2024 · 1 comment · Fixed by #1598
Closed

Android reflection: Setting tintColorInt no longer works #1602

jonasbark opened this issue Jan 31, 2024 · 1 comment · Fixed by #1598

Comments

@jonasbark
Copy link
Collaborator

https://github.com/stripe/stripe-react-native/blob/master/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt#L170

This no longer works as tintColorInt is no longer available as field. I think instead one could call the "setTintColorInt" method.

java.lang.NoSuchFieldException: No field tintColorInt in class Lcom/stripe/android/view/CardBrandView; (declaration of 'com.stripe.android.view.CardBrandView' appears in /data/app/~~IDz1bgqcI5oqOHV1InrTog==/com.flutter.stripe.example-2hbbaERPHEzQHNeegEKm7Q==/base.apk!classes18.dex)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants