-
Hello to all! First of all, thanks for reading. I have this doubt, it could seem naive from my part but I don't really get the point. If the same user wants to access that subscription from another device, our app would ask for login, and after it, that subscription would be accessible. What does it do the restore purchase action itself? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Actually it's great question and I would like to hear some thoughts about this too. When such situation can take place if you store subscription data on BE? |
Beta Was this translation helpful? Give feedback.
-
I remember back in the day, especially on iOS, a lot of apps would lose purchases if you deleted the app from your device since everything was stored locally. If you reinstalled, you could "restore purchases" which would essentially tell the app you've already paid for certain IAPs so it could store that info locally and grant access to the paid feature(s) again. With modern server-side storage, there seems to be less of a need for this, but I suppose they've left the functionality there for people that still want to store everything locally on the user's device. If you're storing the data server-side, you probably don't need to use the restore purchases function. |
Beta Was this translation helpful? Give feedback.
-
You should do a restore purchase along with asking them to login. In that way you get the latest information about the subscription that you can use to update your DB. The problem with keeping it on your DB is that you don't account for changes to the subscription status. i.e. cancellations or renewals. |
Beta Was this translation helpful? Give feedback.
I remember back in the day, especially on iOS, a lot of apps would lose purchases if you deleted the app from your device since everything was stored locally. If you reinstalled, you could "restore purchases" which would essen…