Documentation

​
​

Development

User Acquisition

Monetization

Industry

In-App Purchasing

IAP Client API

IAP SDK API

Webshop Admin API

Webshop Client API

In-App Purchasing

LiveOps
​
​
Get started
  • Overview
  • Introduction to IAP
  • What's new in IAP v5.4
  • Upgrade from IAP v4 to v5
  • AI skill for In-App Purchasing
Direct to Consumer (D2C) payments
  • Direct to Consumer (D2C) payment providers
Webshop
  • Overview
  • Get started with webshops
  • Webshop setup
  • Catalog and payments
  • Game integration for webshops
  • Troubleshooting webshops
Platform-native stores
  • Set up IAP for platform-native stores
  • Codeless IAP
Catalogs and store management
  • Create product catalogs
  • Supported stores
    • Google Play Store
    • Apple App Store
      • Apple Family Sharing
    • Stripe
    • Coda
    • Custom stores
    • Cross-store installation issues with Android in-app purchase store
Purchases
  • Purchase management and fulfillment
Monitor IAP performance
  • Overview
  • IAP revenue performance
  • D2C performance
Privacy
  • Privacy and consent
  1. Unity In-App Purchasing

Apple Family Sharing

Learn how to check whether a product is eligible for Apple Family Sharing and how to register a handler that triggers when entitlements are revoked, such as when a family member later loses access to that shared purchase.
Read time 1 minute
Last updated 5 months ago

Apple supports Family Sharing for auto-renewable subscriptions and non-consumable in-app purchases. To use Family Sharing, enable it for each product individually in App Store Connect. For set up instructions, refer to Turn on Family Sharing for In-App Purchases.

Family Sharing eligibility

Use the
isFamilyShareable
field in the Apple product metadata to check whether a product is shareable. Call
Product.ProductMetadata.GetAppleProductMetadata()
to access this metadata.
bool IsProductFamilyShareable(Product product) { var appleProductMetadata = product.metadata.GetAppleProductMetadata(); return appleProductMetadata?.isFamilyShareable ?? false; }

Revoked entitlements

Your app needs to handle cases where a family member loses access to a shared purchase. To do this, add a listener for IAppleStoreExtendedPurchaseService.OnEntitlementRevoked by using
StoreController.AppleStoreExtendedPurchaseService
.
This event is raised when Apple revokes access to a product. It passes the revoked product ID to your listener so your app can update access accordingly. Losing access to a shared purchase is just one of the potential scenarios that might trigger this event.
Use the following sample to register a listener for entitlement revocation events to receive the product ID when Apple revokes access to a purchase.
void AddAppleListeners(){ var applePurchaseService = UnityIAPServices.StoreController().AppleStoreExtendedPurchaseService; if (applePurchaseService != null) { applePurchaseService.OnEntitlementRevoked += EntitlementRevokedListener; }}void EntitlementRevokedListener(string productId){ Debug.Log($"Revoked product: {productId}");}

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Family Sharing eligibility

    • Revoked entitlements


Report a problem with this page