Type Function Return value none Revision 2019.3470 Keywords Apple, IAP, in-app purchases, restore store.purchase() store.*
Users who wipe the information on a device or buy a new device may wish to restore previously purchased items. This function initiates the process of retrieving all valid purchases.
For Apple IAP, the transaction state of restored items will be
"restored" and the
originalDate fields of the transaction object will provide context about the original purchase.