#Hoang Dung
1 messages · Page 1 of 1 (latest)
Hi there, can you describe the problem in more details?
Is it a webpage or Android app? Did you test the same webpage/app in another Android device?
Hi Jack Tan, yes it appears on android devices, specifically samsung z flip 4, other android devices work normally and this error doesn't occur
Can you share with me a screenshot of the problem, as well as relevant code?
this images
Also have you used layout inspector to debug your app and see if the CardField widget is rendered in your app running in the Samsung flip phone? https://developer.android.com/studio/debug/layout-inspector
In this document i see no mention of displaying card field in the Samsung flip phone, i am using directly CardField @stripe/stripe-react-native
What kind of mention are you looking for?
I am using @stripe/stripe-react-native
CardField and it is not showing on samsung Z flip device
Yes, you've told me the problem. Have you tried using the Layout inspector to debug your app (see my previous message)?
yes i watched it, this error appeared on client's device, i don't have device available to run debug
here is the code that i use
This code looks OK for me.
I'll suggest you to get the actual device from your client and use the Layout Inspector to debug your app.
@oak jetty Can I customize the Card Field input form?
What kind of customization are you looking for? if it's about style, you can customize throught style prop (https://stripe.dev/stripe-react-native/api-reference/interfaces/CardFieldProps.html)
Documentation for @stripe/stripe-react-native
I want to separate into each input box for number card, MM/YY, CVC
I see, you should use CardFormView if you need separated views https://stripe.dev/stripe-react-native/api-reference/modules/CardFormView.html
Documentation for @stripe/stripe-react-native