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

Unable to set card brand tint color: No field tintColorInt in class Lcom/stripe/android/view/CardBrandView #1616

Open
lpylpyleo opened this issue Jan 27, 2024 · 1 comment
Labels
Stripe RN SDK Issues related to the cross native layer from Stripe Sdk

Comments

@lpylpyleo
Copy link

Describe the bug
Card brand does not appear in CardField, but appeared after input some numbers.

To Reproduce
Steps to reproduce the behavior:

  1. Run the example
  2. Navigate to Card Payments / Simple - Using webhooks

Expected behavior
Card brand should appear

Smartphone / tablet

  • Device: Redmi k20
  • OS: Android 13
  • Package version: 10.0.0
  • Flutter version 3.16.9

Additional context
E/StripeReactNative(32545): Unable to set card brand tint color: No field tintColorInt in class Lcom/stripe/android/view/CardBrandView; (declaration of 'com.stripe.android.view.CardBrandView' appears in /data/app/~~uJGKmGCCcU6tWwsopWc4DQ==/com.flutter.stripe.example-YOT91u_pg4R3whLgjhM2Ww==/base.apk!classes8.dex)
I/PlatformViewsController(32545): Using hybrid composition for platform view: 0
W/View (32545): requestLayout() improperly called by android.widget.FrameLayout{1adb933 VFE...... ......ID 166,35-1032,94 #7f0800ac app:id/container} during layout: running second layout pass
W/View (32545): requestLayout() improperly called by com.google.android.material.textfield.TextInputLayout{5d794f0 V.ED..... ......ID 0,0-400,59 #7f08008f app:id/card_number_text_input_layout} during layout: running second layout pass
W/View (32545): requestLayout() improperly called by com.google.android.material.textfield.TextInputLayout{dcbba69 V.ED..... ......ID 550,0-704,59 #7f08010b app:id/expiry_date_text_input_layout} during layout: running second layout pass
W/View (32545): requestLayout() improperly called by com.google.android.material.textfield.TextInputLayout{8c08cee V.ED..... ......ID 2750,0-2750,59 #7f0800bd app:id/cvc_text_input_layout} during layout: running second layout pass
W/View (32545): requestLayout() improperly called by com.google.android.material.textfield.TextInputLayout{300b58f V.ED..... ......ID 2750,0-2750,59 #7f0801d3 app:id/postal_code_text_input_layout} during layout: running second layout pass

image image
@lpylpyleo lpylpyleo added the needs triage Needs triage label Jan 27, 2024
@jonasbark
Copy link
Member

Thanks for the issue - we reported it to stripe/stripe-react-native#1602

@jonasbark jonasbark added Stripe RN SDK Issues related to the cross native layer from Stripe Sdk and removed needs triage Needs triage labels Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stripe RN SDK Issues related to the cross native layer from Stripe Sdk
Projects
None yet
Development

No branches or pull requests

2 participants