stripe-react-native
stripe-react-native copied to clipboard
The payment ui is changing its orientation to vertical in tablets
Describe the bug When using the payment ui in tablets , the payment ui is changing its orientation to vertical instead of staying in same orientation .
To Reproduce Steps to reproduce the behaviour :
- Create a fresh project
- Install the stipe library for react and configure it.
- Run the project in tablet
- It will change the orientation of payment ui to vertical.
Expected behaviour Payment ui should show in horizontal in tablets and vertical in mobiles.
Screenshots
Smartphone (please complete the following information):
- Device: Any Emulated android tablet device
- OS: 13
- Version latest
Additional context Add any other context about the problem here.
Hi @amanrajtoppoart007 This feature request is currently in Stripe Android SDK team's roadmap. You can watch this ticket (https://github.com/stripe/stripe-android/issues/6311) on its progress.
@amanrajtoppoart007 did you find any solution? or alternative?
@PauloSzT No not yet , I am using custom CardField just for now
import {CardField, useConfirmPayment} from '@stripe/stripe-react-native';