ezet / stripe-sdk

A simple and flexible Stripe library for Flutter with complete support for SCA and PSD2.
https://pub.dev/packages/stripe_sdk
Other
137 stars 137 forks source link

Credit Card Number AutofillHints.creditCardNumber shows full keyboard on iOS #148

Closed justoke closed 2 years ago

justoke commented 2 years ago

In the CardNumberFormField component there seems to be an issue with the interpretation of the input format as defined by AutofillHints.creditCardNumber. On Android devices a numeric keypad is displayed as expected, however on iOS devices the full keyboard is shown. To test this, I used the AutofillHints.telephoneNumber for the autofillHints and this correctly shows the numeric keypad in both Android and iOS.

flutter.pub-cache\hosted\pub.dartlang.org\stripe_sdk-5.0.0-nullsafety.0\lib\src\ui\widgets\card_number_form_field.dart

image

image

iOS image

ezet commented 2 years ago

Working on a fix