Companion
Functions
Note: This method only works for the Google Play Store. There is no Amazon equivalent at this time. Calling from an Amazon-configured app will return true.
Configures an instance of the Purchases SDK with a specified API key. The instance will be set as a singleton. You should access the singleton instance using Purchases.sharedInstance
Given an intent, parses the associated link if any and returns a WebPurchaseRedemption, which can be used to redeem a web purchase using Purchases.redeemWebPurchase
Properties
Current version of the Purchases SDK
True if configure has been called and Purchases.sharedInstance is set
Set a custom log handler for redirecting logs to your own logging system. Defaults to android.util.Log.
DO NOT MODIFY. This is used internally by the Hybrid SDKs to indicate which platform is being used
Singleton instance of Purchases. configure will set this