stripe / stripe-react-native

React Native library for Stripe.
https://stripe.dev/stripe-react-native
MIT License
1.25k stars 256 forks source link

Payment sheet not showing on iOS 17.1.1+ #1581

Closed the-habu closed 8 months ago

the-habu commented 8 months ago

Describe the bug Tested with iOS 17.0, 17.1.1 and 17.2

Starting with iOS 17.1.1 (iOS 17.0 works), the stripe payment sheet will be invisible but still touchable. The screen darkens as if it would want to show an overlay sheet. Also when saving and working dev mode, sometimes the sheet does appear for a second, until the app cold-refreshes and goes back to the main screen (our fast refresh setup broken).

I see no problems in the RN and native logs. Seeing the sheet pop up on refresh, leads me to believe that this is a rendering problem.

To Reproduce

Expected behavior Payment sheet shows as normal.

Smartphone

the-habu commented 8 months ago

Seems to be related to XCode versions. I will give an update on this ticket, if I have a better analysis.

erfan93na commented 8 months ago

Did you find any solution?

the-habu commented 7 months ago

Did you find any solution?

Yes, we found out it is related to XCode 15 while XCode 14 works perfectly. I am not even sure yet if it is happening with current version of this lib, as we haven't managed to upgrade yet.

mahendraios commented 5 months ago

I'm seeing this issue with @stripe/stripe-react-native : 0.37.0 and Xcode 15.0.

vineetsansare commented 2 months ago

@the-habu :

I am facing the same issue with one of my client's apps. I know this issue is marked closed. But is there any workaround or concrete solution that works for XCode 15.3 and iOS 17.4.1

Simulator Screenshot - iPhone 15 Plus - 2024-05-28 at 23 48 27 Simulator Screenshot - iPhone 15 Plus - 2024-05-28 at 23 48 34 Simulator Screenshot - iPhone 15 Plus - 2024-05-28 at 23 48 41