Skip to main content
Question

Purchases.configure return -1 on Capacitor-Android

  • January 28, 2026
  • 1 reply
  • 31 views

Forum|alt.badge.img

Hi there,

I am new to using RevenueCat with Capacitor and I'm encountering an issue during initialization. I attempted to configure RevenueCat using Purchases.configure within my application code, but the process returns an error code of -1. Could you please advise on what might be causing this issue and how I can resolve it?

Thank you for your assistance!

This post has been closed for comments

1 reply

alejandra-wetsch
RevenueCat Staff
Forum|alt.badge.img+6

Hey ​@GW Zhang

Thank you for reaching out!

I’m sorry you’re getting this error. To troubleshoot further, could you please share the following:

  • Code snippets of your SDK configuration
  • Which version of the SDK are you using
  • Full debug logs or stack trace of the error you’re seeing

If you don’t feel comfortable sharing this publicly, you can DM me or create a support ticket mentioning this community post.

Looking forward to hearing back from you!