Skip to main content
Question

Fatal error: Purchases has not been configured.

  • 25 July 2024
  • 1 reply
  • 41 views

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

Userlevel 2
Badge +4

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!