Type alias PurchasesAreCompletedBy

PurchasesAreCompletedBy: REVENUECAT | PurchasesAreCompletedByMyApp

Allows you to specify whether you want RevenueCat to complete your app's purchases or if your app will do so.

You can configure RevenueCat to complete your purchases like so:

Purchases.configure({
apiKey: "123",
purchasesAreCompletedBy: PURCHASES_ARE_COMPLETED_BY.REVENUECAT,
});

You can specify that purchase are completed by your app like so:

Purchases.configure({
apiKey: "123",
purchasesAreCompletedBy: {
type: PURCHASES_ARE_COMPLETED_BY.MY_APP,
storeKitVersion: STOREKIT_VERSION.STOREKIT_1
},
});