Apple allows any in-app purchases to be shared within a family using Family Sharing. This is great for apps that tend to be used by groups of people, like video streaming services and kids' apps, without needing users to share their Apple ID. This guide covers how to opt-in your subscriptions to family sharing and how RevenueCat handles family-shared purchases.
While family sharing will work on all versions of the SDK, some patches were released in version 3.9.1 in the iOS SDK that improve the SDK's handling of revoked family purchases. Below are the recommended SDK versions:
By default, family sharing is disabled for all new and existing in-app purchases. Therefore, you need to enable family sharing for each individual in-app purchase.
Pro tip: Not all in-app purchases need to be family shareable
Since you enable family sharing per product, you can choose some products to be family shareable. This opens the door to providing family plans that cost more than an individual subscription, but are more cost-effective than purchasing multiple subscriptions for a family.
If you don't have any in-app purchases in App Store Connect, go ahead and create one by following our guide on iOS Product Setup. Next, navigate to your in-app purchase and click Turn On under Family Sharing.
Family Sharing cannot be disabled once turned on
Double check that you're turning on family sharing for the correct in-app purchase!
Click Confirm, and you're done! The Family Sharing section should now display "This subscription can be shared by everyone in a family group."
RevenueCat seamlessly tracks family shared purchases, so there's no additional setup needed in RevenueCat. In the customer history, you can find out if a purchase was made by the user by checking the
is_family_share key. True means the user's family made the purchase and this user has access via their family; false means the user made the purchase themselves.
is_family_share key is included in webhook events. In the REST API, the
ownership_type is included.
The user must manually share a subscription with their family
Even after setting up your in-app purchase to be shareable, the user must choose to share the subscription with their family in settings.
1. Is it possible to know which family a user is part of? In other words, is it possible to track a family-shared purchase back to the original owner?
Apple doesn't provide any info that will allow you to link purchases that come from the same family together. If this is something you want to do, you'll have to record which purchases come from which family yourself using user authentication.
Yes, RevenueCat will automatically revoke any entitlements that were granted by the user's former family. Version 3.9.1 of the iOS SDK addresses some issues for this edge case, so if this is a concern for you, make sure you use a recent SDK version.
It takes up to 1 hour after a user purchases a subscription and shares it for it to be available to their family members. This is an intentional feature from Apple to give the user time to undo the action if desired. Renewals don't have a delay.
Family-shared transactions are not included in charts data. Transactions are ignored in some overview metrics (all except 'Installs' and 'Active Users').
Updated over 1 year ago