chirag04 / react-native-in-app-utils

A react-native wrapper for handling in-app payments
MIT License
890 stars 185 forks source link

Restore Purchases and Login Flow Issue #150

Closed joserocha3 closed 6 years ago

joserocha3 commented 6 years ago

Hello - great asset! One issue though, I was not signed in on my emulator when I attempted to restorePurchases. So it took me to the iOS settings screen to login, I followed the normal flow and ended up back in the app.

However, it appears that on return the callback was not called. Now my transaction is in limbo and I get the below message every time I try to restore.

restoreCompletedTransactionsWithApplicationUsername: because already restoring transactions

Could we get access to kill the restoreRequest or maybe the package should handle the return automatically.

Any suggestions?

joserocha3 commented 6 years ago

This is probably just a simulator issue. I will make sure to try on device and reopen if it happens there.