#kashif_Muhmd1177-rn-postal-code
1 messages · Page 1 of 1 (latest)
Hi there 👋 can you tell me a bit more about the integration that you're building and how you're accessing it?
I'm just using the UI of cardfield of stripe. The problem is with postal code. In some mobile devices it allow me to write alphabet and numbers both but in some it only allows number.
inside that cardfield Textinput
*TextField
Are you building a React Native app?
Yes
Thank you for that clarification, and have you noticed any sort of pattern in occurrence? For instance, are all Android devices behaving one way and all iOS devices behaving the other?
yup thats also an issue in IOS its perfectly working but only causing problems in Android
IOS is working fine ..in every device
only issue in android
Gotcha, and what country are you selecting before trying to enter the postal code?
UK
Which version of our React Native SDK are you using?
kashif_Muhmd1177-rn-postal-code
31
Can you double check that please, our most recent version is 0.19.0:
https://github.com/stripe/stripe-react-native/releases
"@stripe/stripe-react-native": "^0.15.0",
this is the version of stripe that im using
so that mean that i have to change my sdk to 33 .. am i right?
so may be this issue will resolve
Sorry, but I'm not sure which part of your environment you're referring to being on v31, so I'm not sure how that would impact this scenario.
im talking about compilesdk
Hello, toby has to step out but I can help. Looking in to why this might be. Do you know the models and android versions of the devices that our CardField is not allowing letters in?
yup in google pixel 3xl and some other nexus phone
also many other google pixel devices
some are on android 12 and some are on android 11
but mostly in android 12 phone ...in some android 12 devices its working ok but in pixel and nexus its not working fine ....That postalcode area only
Quick question, when you say we aren't allowing you to input letters, is that to say that we only show the number keyboard, or do we show the full keyboard and just don't add letters if you type them?
I found a GitHub issue for our library that seems to describe similar behavior from March. Not sure the progress on it internally since https://github.com/stripe/stripe-react-native/issues/843
yup it shows the full keyboard but do not allow me to write letter
Gotcha, thank you. I am consulting my colleagues on this, will likely file a bug report for this if there isn't some workaround (though personally I don't think you should need specific code to get this to work)
okay thanks