Restore non-renewable subscription

How do I restore a non-renewable subscription (for example, if the user gets a new device during the course of the subscription)?

My app does not use a server and users do not log in or have accounts, so I can't just store the information that way.

Thanks,
Frank

Replies

hi Frank,
you can not do so, Your app is responsible for implementing a 'restore' method for non-renewing subscriptions.
Since you do not used any server to store subscription information, so first you should have a Server or cloud to store this information other wise its not possible

Hi Frank, all non-renewing subscription purchase transactions will be recorded in the receipt, you can call SKReceiptRefresh to get the latest receipt for the app, and all the previous non-renewing subscription transactions will be stored there.

https://developer.apple.com/documentation/storekit/skreceiptrefreshrequest

I am using non-renewing subscription for my own app without server, and it restores just fine.