PurchasesConfiguration class

Used when calling configure to configure the RevenueCat plugin

Implementers

Constructors

PurchasesConfiguration(String apiKey)

Properties

apiKey String
RevenueCat API Key.
final
appUserID String?
An optional unique id for identifying the user.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
observerMode bool
An optional boolean. Set this to TRUE if you have your own IAP implementation and want to use only RevenueCat's backend. Default is FALSE.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
store Store?
Required to configure the plugin to be used in the Amazon Appstore. Values different to Store.amazon don't have any effect.
getter/setter pair
userDefaultsSuiteName String?
iOS-only, will be ignored for Android. Set this if you would like the RevenueCat SDK to store its preferences in a different NSUserDefaults suite, otherwise it will use standardUserDefaults. Default is null, which will make the SDK use standardUserDefaults.
getter/setter pair
usesStoreKit2IfAvailable bool
iOS-only, will be ignored for Android. Set this to FALSE to disable StoreKit2. Default is FALSE.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited