Options
All
  • Public
  • Public/Protected
  • All
Menu

Holds parameters to initialize the SDK.

Hierarchy

  • PurchasesConfiguration

Index

Properties

apiKey

apiKey: string

RevenueCat API Key. Needs to be a string

Optional appUserID

appUserID: null | string

A unique id for identifying the user

Optional observerMode

observerMode: boolean

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. If you are on Android and setting this to ON, you will have to acknowledge the purchases yourself.

Optional useAmazon

useAmazon: boolean

An optional boolean. Android only. Required to configure the plugin to be used in the Amazon Appstore.

Optional userDefaultsSuiteName

userDefaultsSuiteName: string

An optional 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.

Optional usesStoreKit2IfAvailable

usesStoreKit2IfAvailable: boolean

iOS-only, will be ignored for Android. Set this to FALSE to disable StoreKit2. Default is FALSE.

Generated using TypeDoc