- Jun 6, 2020
- 11,517
- 4,383
Over the last week I've been trying to get store.RestoreTransactions to work in my app. It finally works perfectly, with a build uploaded to Apple Connect and app downloads via TestFlight. However, I had to totally circumvent _TransactionsRestored in order to make it work! It NEVER fires, even though a list of previous purchases is successfully downloaded. _TransactionsRestored should also be raised in the case where there are no purchases (
To get around the problem, I ended up starting/restarting a 1 second timer in each _PurchaseComplete event (which does always get raised). So after the last purchase downloads, I essentially create my own "_TransactionsRestored" event and do my...
برای دیدن لینک ها باید ثبت نام کنید
). Seems that it doesn't. It's almost as if the event is named something other than _TransactionsRestored ... has me baffled.To get around the problem, I ended up starting/restarting a 1 second timer in each _PurchaseComplete event (which does always get raised). So after the last purchase downloads, I essentially create my own "_TransactionsRestored" event and do my...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید