Skip to content

iOS calls handleRestore before restore is finished. #285

@Trurl101

Description

@Trurl101

iOS: 26.4
gdx-pay: 1.3.10

Log:

2026-04-03 14:26:37.355 IOSLauncher[1030:116842] [GdxPay/AppleIOS] All transactions have been restored!
2026-04-03 14:26:37.415 IOSLauncher[1030:116842] [GdxPay/AppleIOS] Transaction has been restored: xxx
2026-04-03 14:26:37.415 IOSLauncher[1030:116842] [GdxPay/AppleIOS] Transaction has been restored: xxx

PurchaseManageriOSApple calls restoreCompletedTransactionsFinished before restoredTransactions is filled, so the call to observer.handleRestore always is empty.

As result restorePurchases does not work correctly, several users of my apps complained, sometimes it seems restore delivers a few transactions but not all. In my tests transactions was always empty when handleRestore was called. Even when the log shows that "Transaction has been restored".

Android restore works fine.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions