RevenueCat / react-native-purchases

React Native in-app purchases and subscriptions made easy. Support for iOS and Android.
https://www.revenuecat.com
MIT License
773 stars 84 forks source link

Paywall in react-native-purchases-ui does not close if there is an API error #1101

Closed RiccardoRomagnoli closed 1 month ago

RiccardoRomagnoli commented 1 month ago

Describe the bug When opening the paywall in iOS, if there is an error, it does not get closed and the only way to make the app usable again is to force close it and reopen. In Android it closes. With error I refer to any kind of error coming from RevenueCat API calls (23, 4, ecc).

  1. Environment
    1. Platform: Ios
    2. SDK version: 8.2
    3. OS version: 17
    4. Xcode/Android Studio version:
    5. React Native version: expo 51
    6. SDK installation (CocoaPods + version or manual):
    7. How widespread is the issue. Percentage of devices affected.
  2. Debug logs that reproduce the issue
  3. Steps to reproduce, with a description of expected vs. actual behavior
  4. Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)

Additional context Add any other context about the problem here.

RCGitBot commented 1 month ago

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

kmurphy-rc commented 1 month ago

Hey @RiccardoRomagnoli! Could you head to app.revenuecat.com/settings/support and open up a ticket regarding this? It would also be extremely helpful if you could provide debug logs reproducing the issue, as well as a code snippet for your paywall, especially including how you currently handle errors. Thanks!

RiccardoRomagnoli commented 1 month ago

What steps should support take here? I've reported a bug in the paywall component that is easy to reproduce. Will this be addressed promptly, or should I anticipate the issue being closed without resolution? Developers rely on consistent support and follow-through.