react-native-purchases
react-native-purchases copied to clipboard
`presentPaywallIfNeeded` and `Restore Purchases`
- [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
Paywall remains open, even if restoring purchases from the paywall fulfills the requiredEntitlementIdentifier
requirement. There's also no programmatic way to close the paywall from JavaScript side.
Additional context The paywall should close once the requiredEntitlement is fulfilled. I think there should also be a programmatic way of closing the paywall via the JS API.
Using React-Native and latest version of react-native-purchases
and react-native-purchases-ui
.