-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- [ X] I have updated Purchases SDK to the latest version
- [ X] I have read the Contribution Guidelines
- [X ] I have searched the Community
- [ X] I have read docs.revenuecat.com
- [ X] I have searched for existing Github issues
Describe the bug
A clear and concise description of what the bug is. The more detail you can provide the faster our team will be able to triage and resolve the issue. Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.
- Environment
- Platform: iOS
- SDK version: 8.2.1
- OS version:
- Xcode/Android Studio version: Expo managed
- React Native version: 0.74.5
- SDK installation (CocoaPods + version or manual): cocoapods
- How widespread is the issue. Percentage of devices affected. All
- Debug logs that reproduce the issue: No logs provided
- Steps to reproduce, with a description of expected vs. actual behavior
- Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
Additional context
If I present the paywall from a modal that is triggered by a setState mutation, then want to close that modal while presenting the paywall, the paywall either opens and immediately closes or never opens to begin with.
const closeModalAndShowPaywall = () => {
setIsModalShowing(false) <-- setting state
const paywallResult: PAYWALL_RESULT = await RevenueCatUI.presentPaywall({
fontFamily: "Roboto",
});
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working