do In-App Purchases require a login?

When adding an In-App Purchase do I need to have a login function to save a users settings? Same if they upgrade phones? Is it not enough to just identify the users itunes account of the device used to make the purchase?

now im seeing it should work fine because of the corresponding apple id used to make the purchase, but i would need to have a restore function for people who delete the app

The need to copy and restore purchases to all devices owned by the user (including the original device if the app is deleted and reinstalled) varies with the type of iap product. In most cases storing the purchase information in the user's iCloud Account is one approach. With the exception of non-renewing subscriptions, all you need to do is implement restoreCompletedTransactions.

thank you, i want to add IAP to increase revenue, but in my opinion, adding a login would detract from my app's user experience

do In-App Purchases require a login?
 
 
Q