## What this teaches
How to purchasePackage is never resolved nor rejected.
## The problem
Issue RevenueCat/react-native-purchases#579 (closed, 19 comments): - [x] I have updated Purchases SDK to the latest version - [x] I have read the [Contribution Guidelines](https://github.com/RevenueCat/react-native-purchases/blob/main/CONTRIBUTING.md) - [x] I have searched the [Community](https://community.revenuecat.com) - [x] I have read [docs.revenuecat.com](https://docs.revenuecat.com/) - [x] I have searched for [existing Github issues](https://github.com/RevenueCat/react-native-purchases/issues) **Description** Starting with March the 6th, the `Purchases.purchasePackage` promise is neither resolved nor rejected.
## What worked (verified answer)
If Purchases.purchasePackage never resolves or rejects, check your addCustomerInfoUpdateListener callback: calling Purchases.getCustomerInfo inside it deadlocks, which is exactly what happened here. That deadlock was fixed in the next release (purchases-ios PR 241). Note some Android users still reported it later, so if you're on a current version and it persists, open a fresh issue with logs rather than reopening this one.
## Source
gh:RevenueCat/react-native-purchases#579 - https://github.com/RevenueCat/react-native-purchases/issues/579