I want to get the subscription state in my Unity3D project (I'm using Unity IAP), so if the subscription has ended or cancelled I could just remove the exclusive subscription rewards. I made this pseudocode so you can have an idea of it:
if (Subscription.HasEnded || Subscription.IsCancelled)
{
RemoveRewards();
}
↧