multiSeatDataSharingConsentEligibility
A value that indicates whether you can request consent to share group information for this subscription’s subscription group.
Declaration
var multiSeatDataSharingConsentEligibility: Product.SubscriptionInfo.MultiSeatDataSharingConsentEligibility { get async throws }Mentioned in
Discussion
Data sharing consent applies only to subscriptions that use Apple-hosted invitations. Check this value each time before you present the data sharing consent sheet. Getting the value throws StoreKitError.unsupported if the person isn’t signed in to the App Store or an iOS app runs in visionOS, or another error if StoreKit can’t determine the eligibility.
For more information, see Product.SubscriptionInfo.MultiSeatDataSharingConsentEligibility.