Data provided to store.register()

interface IRegisterProduct {
    group?: string;
    id: string;
    platform: Platform;
    type: ProductType;
}

Properties

Properties

group?: string

Name of the group your subscription product is a member of.

When set, purchasing a subscription in a group will replace the currently owned one (on Google Play, this triggers the subscription replacement flow). When not set, subscriptions are independent — no automatic replacement.

id: string

Identifier of the product on the store

platform: Platform

The payment platform the product is available on.

Product type, should be one of the defined product types