Functions
A unique id for identifying the user
Enable this setting to allow the collection of identifiers when setting the identifier for an attribution network. For example, when calling Purchases.setAdjustID or Purchases.setAppsflyerID, the SDK would collect the Android advertising ID, IP and device versions, if available, and send them to RevenueCat. This is required by some attribution networks to attribute installs and re-installs.
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. No personal identifiable information will be collected. The default value is false.
Sets the EntitlementVerificationMode to perform signature verification of requests to the RevenueCat backend.
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.
Sets the preferred UI locale for RevenueCat UI components like Paywalls and Customer Center. This allows you to override the system locale and display the UI in a specific language.
An optional setting. Set this to MY_APP if you have your own IAP implementation and want to use only RevenueCat's backend. Default is REVENUECAT. If you are on Android and setting this to MY_APP, you will have to acknowledge the purchases yourself.
Executor service for performing backend operations. This can be used if you want to share an executor between Purchases and your own code. If not passed in, one will be created.
Enable this setting to show in-app messages from Google Play automatically. Default is enabled. For more info: https://rev.cat/googleplayinappmessaging
The store in which to make purchases. See Store for supported stores.