Hi all,
As far as I can tell from the forums and docs, this is supposed to work in terms of setting some automatic updating of the customerInfo via listeners, but I can’t make it work in my app (React Native android).
referring to addCustomerInfoUpdateListener() in this case..
https://www.revenuecat.com/docs/customers/customer-info#listening-for-customerinfo-updates
Purchases.getCustomerInfo() works but the listener which is supposed to update once the subscription time is over (5 minutes in test mode), isn’t triggering anything.
I’m not sure if this really has been resolved or not and would love for someone to point to some working example that I can understand, besides the docs which are relatively minimal for this use case.
The only thing I can think of now is to have a 5 minute setTimeout() in my app but that seems far from ideal.. :/