Saturday, May 2, 2026
HomeiOS Developmentios - Apple App Retailer StoreKit 2 • What's subscriptionGroupID in standing(for...

ios – Apple App Retailer StoreKit 2 • What’s subscriptionGroupID in standing(for groupID: String)?

[ad_1]

I wish to entry the most recent transaction for a Subscription Group. I exploit the next technique static func standing(for groupID: String) async throws -> [Product.SubscriptionInfo.Status] to entry the statuses for the group, and from there, I can get a verified transaction from the standing.

However once I set the GroupID equal to the Subscription Group Reference Identify I put within the .storekit configuration file in Xcode, I haven’t got any standing (so unsuitable ID). Really, I’ve to make use of a subscriptionGroupID like 3F19ED53 (discovered utilizing a earlier transaction: https://developer.apple.com/documentation/storekit/transaction/3749718-subscriptiongroupid).

After I look right into a Product, this ID is ready for subscriptionFamilyId.
So my query is how can I do know the ID if it isn’t the one I offered in App Retailer Join or the config file? Do I first should entry a Product from this group?
Thanks.

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments