Reputation: 24426
Can someone explain to me what is required for Auto-Renewable subscriptions on iOS?
I'm confused as to whether it requires a server-side component (built by myself)? Or can everything be handled within the app?
Upvotes: 3
Views: 1165
Reputation: 3607
For the most basic setup, the answer is no, you don't need your own back end. Apple takes care of the money, and you can get the transaction status from apple in the app and unlock or lock whatever the user is paying for based on that information.
Upvotes: 4
Reputation: 2131
Actually, this issue is fully covered in apple docs even with pictures and schemas
Briefly:
1) You will need server-side if you want to make your subscriptions more flexible (ex: to add more sub-ns while app is in appstore) In this case your app gets list of subscriptions from server
2) You will be able to check the correctness of a transaction using your server by sending the received receipt to Apple-server, and give users the content if only the receipt is valid.
Upvotes: 0