-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- I have updated Purchases SDK to the latest version
- I have read the Contribution Guidelines
- I have searched the Community
- I have read docs.revenuecat.com
- I have searched for existing Github issues
Describe the bug
RevenueCatUI.PaywallError 0
won't trigger an error. There is no way to distinguish between this error and a successful paywall open. Not sure if it is intentional.
So for instance if you do:
import RevenueCatUI from 'react-native-purchases-ui';
<RevenueCatUI.Paywall
onDismiss={() => {
//
}}
onPurchaseError={(error) => {
//
}}
onRestoreError={(error) => {
//
}}
options={{
displayCloseButton: true,
offering: {
identifier: 'example',
serverDescription: '',
metadata: {},
availablePackages: [],
lifetime: null,
annual: null,
sixMonth: null,
threeMonth: null,
twoMonth: null,
monthly: null,
weekly: null,
},
}}
/>
The error handlers won't catch and it seems there is no way to capture that and handle. It is treated as a successful paywall open.
Maybe even simply fallbacking to the default offering would be better for this particular error at least?
- Environment
- Platform: iOS
- SDK version: 8.9.6
- OS version: 18.3
- Xcode/Android Studio version: XCode 16.3
- React Native version: 0.77.2
- SDK installation (CocoaPods + version or manual):
- How widespread is the issue. Percentage of devices affected: All

bobinrinder
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working