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
entitlementVerificationMode EntitlementVerificationMode
Verification strictness levels for EntitlementInfo. See https://rev.cat/trusted-entitlements for more info.
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
shouldShowInAppMessagesAutomatically bool
Whether we should show store in-app messages automatically. Both Google Play and the App Store provide in-app messages for some situations like billing issues. By default, those messages will be shown automatically. This allows to disable that behavior, so you can display those messages at your convenience. For more information, check: https://rev.cat/storekit-message and https://rev.cat/googleplayinappmessaging
getter/setter pair
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