Properties
App Store only. Set this property to true only if you’re transitioning an existing Mac app from the Legacy Mac App Store into the Universal Store, and you’ve configured your RevenueCat app accordingly. Contact RevenueCat support before using this.
Current version of the Purchases SDK
Set a custom log handler for redirecting logs to your own logging system.
Singleton instance of Purchases. configure will set this. Will throw an exception if the shared instance has not been configured.
App Store only. Set this property to true only when testing the ask-to-buy / SCA purchases flow. More information available here.
Functions
Note: This method only works for the Google Play Store and App Store. There is no Amazon equivalent at this time. Calling from an Amazon-configured app will return true.
Configures an instance of the SDK with the specified configuration. The instance will be set as a singleton. You should access the singleton instance using sharedInstance.
Configures an instance of the SDK with the specified configuration builder. The instance will be set as a singleton. You should access the singleton instance using sharedInstance.