Platform: iOS (Swift).
Based on: https://www.revenuecat.com/blog/engineering/implement-apple-family-sharing and https://www.revenuecat.com/docs/apple-family-sharing
We’ve enabled Family Sharing:
- set up in App Store Connect ✅
- Initialize the SDK as early as possible in your app flow so that transactions in the queue are detected right away. ✅
On the sandbox we tested the following with correct result:
- Purchase a subscription.
- Let it expire naturally.
- Go to Settings > App Store > Sandbox Account > Manage Subscriptions > and subscribe again.
- This will generate a new transaction that shows up in the queue as soon as you re-open the app. Paywall disappeared as expected ✅
We also implemented Restore purchase. ✅
Yet on App Store family members who access the app see the paywall and restore purchase doesn’t help. ❌
We are looking for an advice about what we may be missing here?
Best answer by Marcin WalczykView original
@Marcin Walczyk ,
Unfortunately, family sharing doesn't work in sandbox so there's no real way to test it outside of production. The flow that you described in your message and that is detailed in the Implement Apple Family Sharing blog post is a good way to get a close approximation of the family sharing scenario, but it will not work exactly like a family share until you're testing in production.
Do you have an idea what else we may try?
We found that Family share doesn’t works for users who are in different countries. But it works if all family members have the same region set on App Store settings.