stripe-react-native
stripe-react-native copied to clipboard
CardField/CardForm inside of the FlatList error
Making a payments using <CardField /> or <CardForm/ > components doesn't work while being rendered inside of the <FlatList /> component.
Steps to reproduce the behavior:
- Render a CardField component on the payment screen inside of the FlatList
- Call any payment method e.g.
confirmPayment(),createPaymentMethod()etc. - error is being returned with the
Card details not completeerror message
it seems like FlatList introduces certain issue with communication between the native modules.
Smartphone (please complete the following information):
- Device: Android emulator/Real device
- OS: Android
related issue: #624
@arekkubaczkowski how to force android to work??
@arekkubaczkowski how to force android to work??
Removing the CardField from inside the FlatList.
@arekkubaczkowski @anija is there ability to style cardform on android (maybe via styles file)? So I will be able to set text colot, color of hints, of errors etc