Skip to main content

Hi,

 

I’m currently integrating RevenueCat into my Android app and encountered some unexpected behavior when handling subscription cancellations.

 

After clicking “Unsubscribe” in the Play Store and then opening my app:

 

• The activeEntitlement.unsubscribeDetectedAt property is returning null.

• The activeEntitlement.willRenew property is returning true.

 

I was expecting unsubscribeDetectedAt to indicate when the unsubscription was detected and willRenew to be false since the user unsubscribed.

 

Could you help me understand how these properties are expected to behave in this scenario? Specifically:

 

1. When should I expect unsubscribeDetectedAt to be populated?

2. Why does willRenew remain true even after the user unsubscribes?

3. Is there a recommended way to detect unsubscriptions promptly?

 

Any clarification would be greatly appreciated. Thank you!

Hello,
I’ve also been struggling with the same problem and according to this the data from activeEntitlement.unsubscribeDetectedAt takes a while to be updated. A better way of tracking unsubscription status could be using the Webhooks.

 

The response from the link also mentions that activating platform server notifications makes the updates reflect faster.

 

Edit: I went ahead and followed the steps to activate platform server notifications and it doesn’t seem to help. The subscriptions on sandbox expire before the unsubscribeDetectedAt is updated. I will go for the webhook implementation.


Reply