I have new apple account, I call store.restore()
nothing was returned.
Now... why I dont have a return code that indicates there are nothing to restore?
I have an app with subscriptions model. And well I MUST detect if user had any previous transactions and if not.
For now I was doing it with 30 second timer, so if nothing was returned from store.restore() in 30 seconds period, it would mean it was fresh account.
But well this way isn't good.
Is there any way to detect that user didn't purchased anything?
With actually CALLBACK or any return information?
Since I found out the store.restore() might not return anything at all even when I had products purchased, or with very bad network it might attempt to return values after 30 second period. And I can't allow to extend the timer to lets say 10 minutes, or 5 minutes or even by 1 second, because its totally not user friendly to lock him for 1 min so he will wait until restore is done.
Thanks in advance.