What's the best way to share an auto-renewable subscription?

Hello,


We received a review from a user that was annoyed that family-sharing doesn't work with IAP.

Have you had the same problem? What did you do to bypass the issue?


I'm thinking of a way to setup a device for a month using a token we can generate on the 'main' device,
but maybe there's a better solution.. ?

Best regards,
Sylafrs

Family Sharing does not work for IAPs:


https://support.apple.com/en-us/HT203046


You have three issues - how to identify who is in a 'family' (to avoid misuse), how do you transfer from one person to another and the guidelines forbid this. Here are some top-line thoughts:


1) the guidelines - write in the notes to App Review that you are implementing a 'free' sharing system for family members and that you are not charging for this sharing


2) identify who is in a 'family' - limit it to 5 shares, perhaps 5 named sharers. I don't believe there is any way to connect to Apple's records of 'family sharing'.


3) transfer - you could transfer via a QR code, a link in an email that opens your app, a one-time-use code number (e.g. "enter 123456 within the next 5 minutes into the text field named Family Sharing") or a wireless transfer using MCSession. Once the second device receives the link/code/wireless signal it goes to a public CloudKit file identified by that code number (hence the 5 minute window), checks the timing and IAP rights, deletes the file and credits itself with the IAP. The granting device writes only 5 such CloudKit files and code numbers. The confirmation CloudKit file may not be needed for the MCSession transfer but is needed otherwise to prevent a single transfer (limited to 5) from being posted and used by 100's.

What's the best way to share an auto-renewable subscription?
 
 
Q