purchases-flutter icon indicating copy to clipboard operation
purchases-flutter copied to clipboard

Request for CustomerInfo stream

Open themumy10 opened this issue 2 years ago • 2 comments

Hi I think we need a method for listening customer info like Stream<CustomerInfo> for subscription status changes. Current method accepts void functions and seems not explaining the feature very well. By this method we may use bloc and go_router in a much more efficient way. Please add such a method. Have a nice day.

themumy10 avatar Feb 25 '23 22:02 themumy10

Hello @themumy10 , you can listen to updates on CustomerInfo by implementing the optional delegate method, purchases:receivedUpdated:.

More information on this can be found here: https://www.revenuecat.com/docs/customer-info#listening-for-customerinfo-updates

michaelAtRC avatar Feb 28 '23 22:02 michaelAtRC

I'm cleaning up the title and the description for clarity.

@themumy10 this is valid feedback. We're open to contributions if you have the time! 😉 Otherwise, we'll add it to the backlog but it might take a while for us to tackle it, since we have some higher-priority items to get to first

aboedo avatar Mar 03 '23 20:03 aboedo