You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@lwansbrough Looks like you got this error when you restore non-consumable purchases.
I think I got it.
It would happen when restoring failed. It calls rejectPromisesForKey method twice. And sometimes it throws exception.
I guess removing the method in restoreCompletedTransactionsFailedWithError would work. I hope you give me an opinion.
Version of react-native-iap
0.3.0-beta3
Expected behavior
This dictionary can be accessed by multiple threads at the same time
Actual behavior
This dictionary crashes when accessed by multiple threads at the same time.
Steps to reproduce
Hard to reproduce, but here's a log:
The fix would probably be a semaphore or lock inside those add/remove methods.
The text was updated successfully, but these errors were encountered: