We ran into a scenario where we wanted to know if restore purchases returned no purchases at all on Android. This doesn't get expressed through Transactions, so this pull request makes restorePurchases return its promise on Android, so that the caller can know when it's done. It still returns nothing on iOS, but you can use getStoreReceipt to do the same thing.
We ran into a scenario where we wanted to know if restore purchases returned no purchases at all on Android. This doesn't get expressed through Transactions, so this pull request makes restorePurchases return its promise on Android, so that the caller can know when it's done. It still returns nothing on iOS, but you can use getStoreReceipt to do the same thing.