react-native-purchases icon indicating copy to clipboard operation
react-native-purchases copied to clipboard

addPurchaserInfoUpdatedListener is not a function

Open mguellsegarra opened this issue 8 years ago • 2 comments

Hi, here a RevenueCat customer.

I've just updated my project, I was using 1.2.0 of this library, and now I'm on 1.3.3

My surprise was that I'm getting an error when I try to run:

Purchases.addPurchaserInfoUpdatedListener((purchaserInfo, error) => {

_reactNativePurchases2.default.addPurchaserInfoUpdatedListener is not a function

I've unlinked and linked again react-native-purchases with iOS and Android, but no luck.

Can you help?

Thanks!

mguellsegarra avatar Sep 07 '18 10:09 mguellsegarra

Hey Marc,

This is error in the documentation which has since been corrected.

addPurchaserInfoUpdatedListener -> addPurchaserInfoUpdateListener

jeiting avatar Sep 15 '18 17:09 jeiting

Wow, many thanks Jacob. Congrats for your work at RevenueCat, you are doing a great job!

mguellsegarra avatar Sep 15 '18 17:09 mguellsegarra