Skip to main content
Question

Fatal error: Purchases has not been configured.

  • 25 July 2024
  • 1 reply
  • 386 views

Forum|alt.badge.img

Hello, I’m having the following error on iOS platform in my Unity game.
 

PurchasesHybridCommon/CommonFunctionality.swift:21: Fatal error: Purchases has not been configured. Please configure the SDK before calling this method.


Not all my users face this error and I cannot reproduce it on my devices. I just can see them on Crashlytics.

This is how I configure Purchases:

 

 

This post has been closed for comments

1 reply

jeffrey_bunn
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 162 replies
  • July 29, 2024

Hi @emre-korkmaz-45e080. Can you users make purchases in any other part of your app’s lifecycle, before purchases has been configured? If this is intermittent, it suggests that other flows can trigger a purchase flow. When in your app’s lifecycle is ConfigureRevenueCat called? Thanks!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings