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
pendingTransactionsForPrepaidPlansEnabled bool
Enable this setting if you want to allow pending purchases for prepaid subscriptions (only supported in Google Play). Note that entitlements are not granted until payment is done. Disabled by default.
getter/setter pair
purchasesAreCompletedBy PurchasesAreCompletedBy?
Set this to PurchasesAreCompletedByMyApp and provide a StoreKitVersion if you have your own IAP implementation and want to only use RevenueCat's backend. Defaults to PurchasesAreCompletedByRevenueCat.
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
storeKitVersion StoreKitVersion?
iOS-only, will be ignored for Android. By providing StoreKitVersion.defaultVersion, RevenueCat will automatically select the most appropriate StoreKit version for the app's runtime environment.
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

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