Skip to main content

I have an app made in Flutter that is running on Android and using subscriptions. The most basic things are working. But this is not:

User have an active subscription and then cancels the subscription.

I wait for more than ten minutes. I restart the app.

Still PurchaserInfo says willRenew is true and unsubscribeDetectedAt is null.

What can be done to get the updated information?
 

Hey @Björn

 

getPurchaserInfo will return a cached value, if one exists. If the cache is outdated, it will trigger a cache refresh, and the refreshed value will come in through the purchaserInfoListener.

This means that during that second run, in order to get the updated purchaserInfo, you should be using the purchaserInfoListener, which will fire as soon as new information is fetched from the backend. 

 

Hope this helps!

 

Andy


Reply