Skip to main content

Hi,

We’re developing an app for iOS and Android with React Native. We want to use RevenueCat as payment provider. Our test with Android works fine. But on iOS an error occurred:

Error 23 on iOS

We understand that something in our configuration is causing an issue. But we can’t get the error handling correctly on React Native. We looked at:
https://www.revenuecat.com/docs/test-and-launch/errors
https://www.revenuecat.com/docs/test-and-launch/debugging
But both of these pages doesn’t show React Native examples.

Can someone show us an example of error handling (or Debug Menu) on React Native?

Thank you.

Hi @soscuisine,

To start debugging that error, I recommend having a look at this guide: 

These are the most common reasons you might get that configuration error. 

Regarding your question on error handling - are you looking for something like the debug overlay? If so, we don’t have that option for the hybrid SDKs unfortunately, only for iOS and Android native. 

To enable debug logs, we do have a RN sample in the Debugging documentation that you may have already seen, but I’m including it here as well:

Purchases.setLogLevel(Purchases.LOG_LEVEL.DEBUG);
Purchases.configure({
apiKey: "<public_sdk_key>",
appUserID: "<my_app_user_id>",
});

SDK reference: https://revenuecat.github.io/react-native-purchases-docs/8.2.3/classes/default.html#setLogLevel