flutter_stripe icon indicating copy to clipboard operation
flutter_stripe copied to clipboard

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

Open lpylpyleo opened this issue 1 year ago • 1 comments

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 avatar Jan 27 '24 06:01 lpylpyleo

Thanks for the issue - we reported it to https://github.com/stripe/stripe-react-native/issues/1602

jonasbark avatar Jan 31 '24 13:01 jonasbark