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

[Customer Center] `presentCustomerCenter()` does not work inside react-navigation modal

Open rrebase opened this issue 7 months ago • 6 comments

  1. Environment
    1. Platform: iOS
    2. SDK version:
      • "react-native-purchases": "8.7.0"
      • "react-native-purchases-ui": "8.7.0"
    3. React Native version: 0.76
    4. Related deps
      • "@react-navigation/native": "7.0.14"
      • "@react-navigation/native-stack": "7.2.0"
      • "react-native-screens": "4.4.0"
  2. Steps to reproduce, with a description of expected vs. actual behavior

Try to open customer center from a modal screen via RevenueCatUI.presentCustomerCenter()

Expected: Customer Center opens Actual: Nothing happens

Works as expected on non-modal screens.

rrebase avatar Mar 03 '25 20:03 rrebase