Builder
Use this builder to create an instance of PurchasesConfiguration.
Properties
Functions
Your RevenueCat API Key.
A unique id for identifying the user
Creates a PurchasesConfiguration instance with the specified properties.
Only use a Dangerous Setting if suggested by RevenueCat support team.
Enabling diagnostics will send some performance and debugging information from the SDK to our servers. Examples of this information include response times, cache hits or error codes. This information will be anonymized so it can't be traced back to the end-user. The default value is false.
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. Default is disabled.
An optional setting. Set this to PurchasesAreCompletedBy.MyApp if you have your own IAP implementation and want to use only RevenueCat's backend. Default is PurchasesAreCompletedBy.RevenueCat. If you are on Android and setting this to PurchasesAreCompletedBy.MyApp, you will have to acknowledge the purchases yourself.
Enable this setting to show in-app messages from Google Play automatically. Default is enabled. For more info: rev.cat
The store in which to make purchases. See Store for supported stores.
iOS-only, will be ignored for Android. By providing StoreKitVersion.DEFAULT, RevenueCat will automatically select the most appropriate StoreKit version for the app's runtime environment.
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.
Sets the EntitlementVerificationMode to perform signature verification of requests to the RevenueCat backend.