I have setup offerings and fetching them in my react-native app using getOfferings function.
I do get all the offerings but all the offering only has the backwards compatible product in their product key.
{
identifier: "$rc_monthly",
offeringIdentifier: "premium",
packageType: "MONTHLY",
product: {
currencyCode: "BDT",
description: "...",
discounts: null,
identifier: "premium",
introPrice: null,
price: 23000,
priceString: "BDT 23,000.00",
productCategory: "SUBSCRIPTION",
productType: "AUTO_RENEWABLE_SUBSCRIPTION",
subscriptionPeriod: "P1Y",
title: "Premium (Dating Vill)",
},
}
{
identifier: "$rc_six_month",
offeringIdentifier: "premium",
packageType: "SIX_MONTH",
product: {
currencyCode: "BDT",
description: "...",
discounts: null,
identifier: "premium",
introPrice: null,
price: 23000,
priceString: "BDT 23,000.00",
productCategory: "SUBSCRIPTION",
productType: "AUTO_RENEWABLE_SUBSCRIPTION",
subscriptionPeriod: "P1Y",
title: "Premium (Dating Vill)",
},
}
Both time returning the same product
How can I solve it?