0

I am simply trying to configure Revenue Cat in my App Delegate's didFinishLaunchingOptions method with Purchases.configure(withAPIKey: "my_api_key") (as explained in the docs), but it keeps printing the following error...

‼️ Error fetching offerings - The operation couldn’t be completed. (RevenueCat.OfferingsManager.Error error 1.)

Is it because my api key could be wrong? I followed the docs by uploading a shared secret from my App Store connect, and the api key I am using is from the bottom of the following image called "Public API Key".

This seems like such a simple task..

enter image description here

[EDIT] Or could it be my offering isn't fully set up? I tried, but it still looks like this:

enter image description here

And after clicking "offerings" it says this:

enter image description here

I did add an "Entitlement" and "Product" though, so not sure why it looks like that.

Eric
  • 569
  • 4
  • 21
  • 1
    Do you have your Products, Offerings and Entitlements setup? – Asteroid May 30 '22 at 21:10
  • @Asteroid I thought so.. see my edit above for more info on that. – Eric May 30 '22 at 21:19
  • 1
    Your error message "RevenueCat.OfferingsManager.Error error 1" suggests something about the offerings not the API key. Have Products, Offerings and Entitlements setup properly first. That's my guess – Asteroid May 30 '22 at 21:23
  • Okay thank you. I'll try that and keep you (and anyone else in the future) updated. – Eric May 30 '22 at 21:32
  • @Asteroid Yeah it was my offerings that weren't set up right. Thanks for your help – Eric Jun 01 '22 at 07:16

0 Answers0