stripe-react-native icon indicating copy to clipboard operation
stripe-react-native copied to clipboard

The payment ui is changing its orientation to vertical in tablets

Open amanrajtoppoart007 opened this issue 1 year ago • 3 comments

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 :

  1. Create a fresh project
  2. Install the stipe library for react and configure it.
  3. Run the project in tablet
  4. 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 Screenshot_1685281710

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.

amanrajtoppoart007 avatar May 28 '23 13:05 amanrajtoppoart007

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.

seanzhang-stripe avatar May 29 '23 13:05 seanzhang-stripe

@amanrajtoppoart007 did you find any solution? or alternative?

PauloSzT avatar Jul 25 '23 16:07 PauloSzT

@PauloSzT No not yet , I am using custom CardField just for now import {CardField, useConfirmPayment} from '@stripe/stripe-react-native';

amanrajtoppoart007 avatar Jul 29 '23 17:07 amanrajtoppoart007