Hi,
I’m updating one of my old apps to the new google.iap.billing
plugin and i’m reading the documentation on the store.restore()
call. In the docs it says:
During this process, the storeTransaction listener defined in store.init() may be called multiple times, once for each item. Once completed, a transaction state "restoreCompleted" is called.
But then it says:
Unlike Apple IAP, Google IAP does not include a "restored" state for transactions. This function should still be called to retrieve all of the user's purchases, but all valid transactions will be of the "purchased" state.
So, if I am calling store.restore()
to restore a single non-consumable item, will I get three callback states in the following order (assuming successful restore):
- restoreCompleted
- purchased
- finished
Or will it be 2 callback states:
- restoreCompleted
- finished
Or will it be these 2 callback states:
- purchased
- finished
Thanks for your input.