Skip to main content
The React Native SDK surfaces errors from the underlying native SDKs. Errors are thrown as JavaScript exceptions from Promise-returning methods.

Error Handling

All SDK methods return Promises and should be wrapped in try/catch:

Common Errors

Purchase Flow Errors

When using completePurchaseRequest(), the method returns { success: false } with an error message if no pending purchase request exists — it does not throw.
For platform-specific error details, see the iOS SDK errors and Android SDK errors documentation.